Item5585: Use of " ' " in the transition table causes workflow plugin not to allow state transitions.
Priority: Urgent
Current State: Closed
Released In:
Target Release: n/a
Central to the use of the workflow plugin are the state and transition tables. There is a problem in that if you define the state transition table like this:
State |
Action |
Next State |
Allowed |
Form |
NEWITEM |
It's a prospect |
PROSPECT |
SpiTopGroup |
|
Then the workflow plugin will never allow transition between the NEWITEM state and the PROSPECT state. The " ' " seems to be the culprit here.
The work round is, obviously not to use " ' " in the transition table - however I am classifying this as an urgent bug because, not only does it stop the workflow plugin from working properly, it also gives absolutely no clues as to what the error might be. I just wasted more than an hour trying to figure this one out!
--
TWiki:Main/MichaelCorbett - 29 Apr 2008
The plugin uses "roll your own" HTML rather then using CGI functions, and doesn't escape parameter values
Confirmed.
CC
Cleaning up the code; will do this at the same time.
--
CrawfordCurrie - 05 Nov 2008 - 11:09