I couldn't find this in "image" defects against D8. The issue has been verified as new to D8, I have tested on D7.
Steps to reproduce:
- Create a new image style
- Add a scale and crop effect to it (or whatever)
- Make sure it's saved ...
- Edit the effect you just added
- Change one or both of the dimensions, and save again
- Note the image style now has 2 effects, but only one was intentionally added
Only one effect was added to this style at 10x10 and edited to then be 100x100: https://skitch.com/e-alanevans/8qjdr/edit-test-multiple-style-testd85.lo...
The problem appears to be that D7 referred to effects by integer Ids, D8 refers to them by a function-based description, so essentially all the attributes are included, producing mostly a unique name per effect. If you don't actually change anything, then the effects do not multiply.
PASSED: [[SimpleTest]]: [MySQL] 40,756 pass(es).
[ View ]
PASSED: [[SimpleTest]]: [MySQL] 40,671 pass(es).
[ View ]