When exporting contexts that include assets to Features, as well as the assets that are selected, the array also contains the assets that *aren't* selected. Whenever the list of assets changes, this means the feature is listed as overridden, although the only thing that is overridden is the list of files that aren't being used anyway.

The attached patch filters the selected list of assets to avoid this problem.

Comments

longwave’s picture

StatusFileSize
new738 bytes
jtwalters’s picture

Status: Needs review » Reviewed & tested by the community

This works. Must have if you're looking to avoid extra work when comparing feature exports.

Please commit this!

  • electblake committed 88a8256 on 7.x-1.x
    Issue #2195611 by longwave,jtwalters: filter only selected values for...
electblake’s picture

approved & merged into 7.x-1.x branch. holding to cut release for other approved patches

electblake’s picture

Assigned: Unassigned » electblake
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.