Issue Bug Resolved

#87399Wrong default cropping when adding new cropVariant

Richard Haeser 01/11/19, 10:13 updated 11/18/26, 13:50

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

  1. 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>

    Added a video to show the behaviour

  2. 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

  3. Anonymous commented and changed status Under Review Resolved done 0 % 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.