• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

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

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension WorkflowPlugin Urgent Confirmed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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

Confirmed.

CC

ItemTemplate
Summary Use of " ' " in the transition table causes workflow plugin not to allow state transitions.
ReportedBy TWiki:Main.MichaelCorbett
Codebase 4.2.0
SVN Range TWiki-5.0.0, Tue, 15 Apr 2008, build 16676
AppliesTo Extension
Component WorkflowPlugin
Priority Urgent
CurrentState Confirmed
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2008-04-30 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback