#87399Wrong default cropping when adding new cropVariant
Description
Situation:
You have for example a page and in the resources field you have configured 2 cropVariants already. The editors added content and have set their specific crops for all cropVariants.
After a while they decide they want a third cropVariant for the same field. When you add this configuration something strange happens. If you don’t open the page properties in the backend, the frontend will correctly render the image with the new cropVariant and will be cropped from the center of the image. But when someone is checking the page properties and for example open the IRRE field for the already added images, the cropping of the new image is based on the first cropVariant instead of the original image. This only occurs with already connected images. When you add a new image, this is working as expected.
Tested and is “wrong” in v8 and v9.
Reviews 2
Files 1
History 46
-
Richard Haeser commented and changed attached bug_adding_extra_cropvariant.mov <span data-processor="relativetime" data-value="2019-01-11T10:14:03+00:00" > 01/11/19, 10:14 </span>
-
Richard Haeser changed PHP Version 7.2 <span data-processor="relativetime" data-value="2019-01-11T10:27:06+00:00" > 01/11/19, 10:27 </span>
-
Stefanos Karasavvidis commented <span data-processor="relativetime" data-value="2019-01-11T14:09:57+00:00" > 01/11/19, 14:09 </span>
I can confirm this on current master
-
Gerrit Code Review pushed patch set 1 for main to change 97680 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-15T16:29:38+00:00" > 11/15/26, 16:29 </span> -
Gerrit Code Review pushed patch set 1 for 14.3 to change 97681 <span data-processor="relativetime" data-value="2026-11-15T16:29:44+00:00" > 11/15/26, 16:29 </span>
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-18T13:50:16+00:00" > 11/18/26, 13:50 </span>Applied in changeset commit:ee7feb91dea6ff2b27f3b8e91ac6c89cc5b7e7af.
Added a video to show the behaviour