Item11914: WorkflowPlugin reads state from txt,v file after editing the txt file
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
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
I'm surprised by this, as the WFP uses all the standard APIs to access topic content and as such, the values of META tags should come from the .txt. I
think 1.1.4 had the store fixes to repair the history after changes to a .txt, but it's quite possible that the solution to this problem is as simple as to upgrade. otherwise yes, you will either have to use the API to do the edit, or manually check in the modified topic (not as hard as it sounds, though you have to be careful to get the META:TOPICINFO right.
Anyway, it's not something for WFP to fix; it's a problem with the
RCSStoreContrib. No action.
--
CrawfordCurrie - 20 Jan 2015