Cannot assign image styles to breakpoints added to breakpoint group when picture mapping is in a feature

Created on 9 February 2016, almost 9 years ago
Updated 20 September 2023, over 1 year ago

If you create a breakpoint group with a number of breakpoints and then create a picture mapping and export that in a feature which is then enabled, it then becomes impossible to assign image styles t new breakpoints because the "Edit picture mapping" dialog only shows the breakpoints that are defined in the feature, not those that the selected breakpoint group currently contains.

Additionally under these circumstances the "Breakpoint group" dropdown doesn't display any new groups that have been added.

Steps to reproduce

  1. Install Picture and Breakpoints modules
  2. Add one or more breakpoints
  3. Add a breakpoint group, including the breakpoints previously created
  4. Add a breakpoint
  5. Add a picture mapping
  6. Assign the breakpoint group set up earlier
  7. Assign image styles to the various breakpoints
  8. save
  9. Export the picture mapping in a feature
  10. enable the feature
  11. Add a new breakpoint and edit the breakpoint group and add that breakpoint to it
  12. Add a new breakpoint group with a different selection of breakpoints
  13. Go to edit screen of the picture mapping

Expected result

The new breakpoint should appear and you should be able to assign an image style to it.

The breakpoint gou dropdown should include the new group.

You should be able to update these settings and then update the feature.

Actual result

The new breakpoint does not appear.

The new group does not appear in the breakpoint groups dropdown.

🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom PQ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇬🇧United Kingdom lesleyfernandes

    I am closing all very old tickets that have not received comments for a long time. If someone still faces these issues or thinks they are relevant, please reopen it. Feel free to contribute with more info or a patch.

Production build 0.71.5 2024