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.
After deleting a state, I tried to create another state with the same name but was unable to do so. I got the message:
A state with the name [the name] already exists in this workflow. Please enter another name for your new state.
Comments
Comment #1
Tsubo CreditAttribution: Tsubo commentedSame issue here. Guessing that the state is still defined in the DB but has a marker..... ? Will take a look later at manually deleting the DB record..... But the code does need fixing.
Comment #2
Bastlynn CreditAttribution: Bastlynn commentedPlease make a point to search for prior issues before opening a new one.
See #1347116: States don't get removed when a workflow is deleted