• 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.

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

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension ActionTrackerPlugin Normal New   n/a  

Edit Form Data

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

Detail

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="Item6150" 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

ItemTemplate
Summary Adjusting State using Ajax can corrupt the status in case non-standard values are used.
ReportedBy TWiki:Main.JanCarstenJ
Codebase 4.2.2
SVN Range TWiki-5.0.0, Wed, 22 Oct 2008, build 17677
AppliesTo Extension
Component ActionTrackerPlugin
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic revision: r1 - 2008-12-15 - JanCarstenJ
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback