Item566: Adjusting State using Ajax can corrupt the status in case non-standard values are used.

pencil
Priority: Normal
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Extension
Component: ActionTrackerPlugin
Branches:
Reported By: Foswiki:Main.JanCarstenJ
Waiting For:
Last Change By: CrawfordCurrie
This bug report is transferred from develop.twiki.org TWikibug:6150 by KennethLavrsen

Jan Carsten Jørgensen is a colleague of mine so I will educate him where to post bugs in future smile

He is one of my power users.


If a user defines extra states for the ActionTrackerPlugin and then tries to change the status via the Ajax interface, the status gets corrupted.

I have defined (See bold red characters for the interessant part)    * Set ACTIONTRACKERPLUGIN_EXTRAS = |said,text,8|mgate,select,1,"M13","M12","M11","M10","M9","M8","M7","M6","M5","M4","M3","M2"|deliverable,text,30|state,select,1,"N/A","Not Planned","Planned","Assigned","Started","Ongoing","Reviewed","closed"|review,select,1,"No","N/A","FTR","Consensus"|evidence,text,50|

And uses this format to display actions defined: %ACTIONSEARCH{  topic="Item566" mgate="M7" format="| $edit | $deliverable | $who | $state | $due | $review | $evidence | $text | $said |" header="| Update | Deliverable | Assigned to | Status | Due date | Review | Evidence URL | Comments | SA2006
ID  |" orient="columns" }%

If I, in display mode, select a status and change it via the Ajax interface, the status defaults to my defined value "N/A".

Best regards

JC

-- TWiki:Main/JanCarstenJ - 15 Dec 2008

As documented, certain names are reserved words and cannot be used in EXTRAS. These are: closed, closer, created, creator, dollar, due, edit, format, header, late, n, nop, notify, percnt, quot, sort, state, text, topic, uid, web, who, within. This is a known limitation of the plugin.

Sorry for the slow response.

-- CrawfordCurrie - 28 Jan 2009

ItemTemplate edit

Summary Adjusting State using Ajax can corrupt the status in case non-standard values are used.
ReportedBy Foswiki:Main.JanCarstenJ
Codebase
SVN Range TWiki-4.2.3, Wed, 06 Aug 2008, build 17396
AppliesTo Extension
Component ActionTrackerPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r2 - 28 Jan 2009, 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