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

CommentFileSizeAuthor
#3 2959124.patch3.68 KBborisson_
#3 interdiff-2959124.txt3.27 KBborisson_
#2 2959124.patch699 byteseiriksm

Comments

eiriksm created an issue. See original summary.

eiriksm’s picture

Status: Active » Needs review
StatusFileSize
new699 bytes
borisson_’s picture

StatusFileSize
new3.27 KB
new3.68 KB

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.

sam152’s picture

Status: Needs review » Reviewed & tested by the community

Hah, good catch.

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

Good find, committed. Thanks!

  • Gábor Hojtsy committed 5a13665 on 8.6.x
    Issue #2959124 by borisson_, eiriksm: Unexpected quote in workflow...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.