Item5585: Use of " ' " in the transition table causes workflow plugin not to allow state transitions.

pencil
Priority: Urgent
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component: WorkflowPlugin
Branches:
Reported By: TWiki:Main.MichaelCorbett
Waiting For: Main.CrawfordCurrie
Last Change By: CrawfordCurrie
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 frown, sad smile

Confirmed.

CC

Cleaning up the code; will do this at the same time.

-- CrawfordCurrie - 05 Nov 2008 - 11:09

ItemTemplate edit

Summary Use of " ' " in the transition table causes workflow plugin not to allow state transitions.
ReportedBy TWiki:Main.MichaelCorbett
Codebase
SVN Range TWiki-5.0.0, Tue, 15 Apr 2008, build 16676
AppliesTo Extension
Component WorkflowPlugin
Priority Urgent
CurrentState Closed
WaitingFor CrawfordCurrie
Checkins WorkflowPlugin:e86b0e580df9
TargetRelease n/a
ReleasedIn
Topic revision: r7 - 08 Dec 2008, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy