Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I appologize if one of the other image style related issues covers this, they seem unrelated.
To reproduce on a clean install:
1) Create a feature with a new image style exported into it.
2) Override in the UI
3) Create a new override feature containing the overridden image style
4) drush cc all
5) drush fl
The original feature will still be overridden and the diff contains the changes.
This is using core 7.20 and Features 7.x-1.0, but the same results with 7.x-2.0-beta1.
Comment | File | Size | Author |
---|---|---|---|
#5 | reset_effect_keys-1950614-5.patch | 721 bytes | mikran |
Comments
Comment #1
tbenice CreditAttribution: tbenice commentedSo does nobody care that image style overrides cannot be exported with this module? Seems important to me.
Comment #2
preksha CreditAttribution: preksha commentedI am facing the same issue... Image Style overrides is not working... It's important for me to use it.
Comment #3
jduhls CreditAttribution: jduhls commentedSame issue. Please fix.
Comment #4
mikran CreditAttribution: mikran commentedI've found a workaround. If you set weight of image style effect to 0 instead of 1 it somehow works. My use case only has 1 effect so I don't know if this works with multiple effects.
Comment #5
mikran CreditAttribution: mikran at Mediamaisteri Oy commentedAnd here is my attempt at fixing this.
image_features_override_component_overrides_alter()
resets the keys before overrides are exported so this patch exports the same reset mechanism to export itself.Comment #6
segovia94 CreditAttribution: segovia94 commentedPatch in #5 is working for me so far.
Comment #7
kehan CreditAttribution: kehan commentedworks for me to
Comment #8
BarisW CreditAttribution: BarisW at LimoenGroen commentedWorks great. Please commit.
Comment #10
mpotter CreditAttribution: mpotter commentedCommitted in eaf4e56.