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.
I just noticed that the exception thrown in WorkflowTypeBase has a strange quote added to its end:
throw new \InvalidArgumentException("The state '$state_id' does not exist in workflow.'");
Seems like an artifact from changing from single quotes to double quotes.
Patch coming up
Comment | File | Size | Author |
---|---|---|---|
#3 | 2959124.patch | 3.68 KB | borisson_ |
Comments
Comment #2
eiriksmComment #3
borisson_Yep, that single quote doesn't belong there. However, that same single quote is also in other exceptions thrown from methods in that file, I searched for
'"
in that file, and fixed all of them at once.Comment #4
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedHah, good catch.
Comment #5
Gábor HojtsyGood find, committed. Thanks!