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.
Steps to reproduce:
- Create and save new image style.
- Go to edit image style.
- Change Style's machine name in text box.
- Select a new filter and add.
Drupal will attempt to go to .../image-styles/edit/original_(step_1)_style_title/add/new_effect, but the add button submits the form and saves the new name, making the correct path .../image-styles/edit/new_(step_3)_style_title/add/new_effect.
Simple to figure out what is going on if you're paying attention but can be confusing for less savvy end users and tired developers.
Comments
Comment #1
RobW CreditAttribution: RobW commentedSpeaking of tired developers...
Comment #2
jlgreen2012 CreditAttribution: jlgreen2012 commentedI was able to reproduce this using every effect except for "Desaturate". Is this the same case for you?
Comment #3
dcam CreditAttribution: dcam commentedI was sort of able to reproduce the problem. The original steps called for changing the effect name. That didn't work. If I changed the machine name of the effect, however, then the error occurred.