NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item11914: WorkflowPlugin reads state from txt,v file after editing the txt file

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal New Extension WorkflowPlugin  

WorkflowPlugin reads state from txt,v file after editing the txt file

I deleted all lines that WorklowPlugin wrote into the txt file to reset the topic to the initial state.

But when displayed in the browser, the topic still seems to have the last state before the edit. A query of the state also shows the state before the edit. A search for topics without META:WORKFLOW finds the topic, however.

If I delete the txt,v file, the initial state is shown.

If I edit & save the topic or run the save script on terminal the correct intial state is shown.

So I think WorkflowPlugin does not read the state from the txt file, but uses the txt,v file (maybe only when the files are out of sync).

-- MichaelLorenzen - 31 May 2012

We had some discussion on IRC: http://irclogs.foswiki.org/bin/irclogger_log/foswiki?date=2012-05-31,Thu

-- MichaelLorenzen - 31 May 2012
 

ItemTemplate edit

Summary WorkflowPlugin reads state from txt,v file after editing the txt file
ReportedBy MichaelLorenzen
Codebase 1.1.4
SVN Range
AppliesTo Extension
Component WorkflowPlugin
Priority Normal
CurrentState New
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r1 - 31 May 2012, MichaelLorenzen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads