Item8147: Revision number is not recorded in metadata on workflow state change

Priority: Normal
Current State: Closed
Released In:
Target Release:
Applies To: Extension
Component: WorkflowPlugin
Reported By: Foswiki:Main.EdMcDonagh
Waiting For:
Last Change By: EdMcDonagh
Please see Question141

With a foswiki installation, when state changes occur with WorkflowPlugin the LASTVERSION_state metadata is set to "". This installation is an upgrade from a previously working TWiki installation.

Foswiki from debian apt-get, version 1.04. WorkflowPlugin version 23 Apr 2009, $Rev: 3652 (2009-04-23)

I have attached a series of images to show the process, starting with a fresh topic under workflow control:

  • Initial topic - not yet in the first state.:

  • Starting the workflow:
  • Im3.png:
  • Im4.png:

I have then edited the topic from the server, to add the revision number to the metadata, and as you can see from the images below, they now appear correctly. If I then go through the cycle again, they are overwritten with "", and it no longer works frown, sad smile

  • With metadata manually edited:

  • Starting the workflow cycle again:
  • Im7.png:

I have also attched the text file for the topic, captured after the last image above.

-- EdMcDonagh - 29 Apr 2009

It was a missing parameter. Fixed.

-- CrawfordCurrie - 29 Apr 2009

Thanks Crawford - all working now smile

-- EdMcDonagh - 29 Apr 2009

ItemTemplate edit

Summary Revision number is not recorded in metadata on workflow state change
ReportedBy Foswiki:Main.EdMcDonagh
Codebase 1.0.4
SVN Range
AppliesTo Extension
Component WorkflowPlugin
Priority Normal
CurrentState Closed
Checkins WorkflowPlugin:2838982c48c3 WorkflowPlugin:f2dbe87d1b76
Topic attachments
I Attachment Action Size Date Who Comment
Im1InitialTopic.pngpng Im1InitialTopic.png manage 14 K 29 Apr 2009 - 10:39 EdMcDonagh Initial topic - not yet in the first state.
Im2.pngpng Im2.png manage 15 K 29 Apr 2009 - 10:41 EdMcDonagh Starting the workflow
Im3.pngpng Im3.png manage 15 K 29 Apr 2009 - 10:45 EdMcDonagh  
Im4.pngpng Im4.png manage 17 K 29 Apr 2009 - 10:47 EdMcDonagh  
Im5MetaDataEdited.pngpng Im5MetaDataEdited.png manage 18 K 29 Apr 2009 - 10:49 EdMcDonagh With metadata manually edited:
Im6.pngpng Im6.png manage 18 K 29 Apr 2009 - 10:51 EdMcDonagh Starting the workflow cycle again
Im7.pngpng Im7.png manage 15 K 29 Apr 2009 - 10:52 EdMcDonagh  
TestPage2.txttxt TestPage2.txt manage 1 K 29 Apr 2009 - 10:53 EdMcDonagh The topic from the server
Topic revision: r5 - 29 Apr 2009, EdMcDonagh - This page was cached on 16 Sep 2021 - 17:02.

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