Why does work item save silently reject change of status ?
Scenario: RTC 5.0.2 ifix006. Defect work item type with spaget, er elaborate workflow. One defect in particular when attempting to move from the current status to In Progress quietly allows a save but does not actually make the change. When using ?debug=true, saving and looking at the work item history this is displayed:
For the In Progress status, no resolutions are enabled ( which I believe is the norm ). Watching the web UI activity with Firebug I see this message following a POST [Value Conversion]: could not interpret [object Object] as a string. Returning as empty string. I tracked the project change history and work flow not touched since this particular work item was created. I also checked workflow usage and attribute usage. Workflow ok, lots of work items with missing attributes. |
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Any customization involved? I would assume yes since you mentioned "move status quietly". Since you are trying to debug it, have you been able to locate where the troubled value conversion takes place?
By "quietly" I mean that there is no error message or other feedback upon changing status then Save. It just doesn't work. There are no attribute customizations for this work item type (i.e. no validators, value providers, etc )
However, just a bit ago the users of this project removed a duplicates link and the status was allowed to change.
The Value Conversion message is from line 74 of com.ibm.team.workitem.web.internal.model.types.StringAttributeType.js
This behavior is definitely due to the presence of a duplicate link.
I suppose the issue is resolved now? If so, shall we convert your comment about removing the link as an answer?
I don't know if it is a good answer; I cannot replicate the behavior in other RTC project areas, nor can I find any configuration in the affected project area that would seem to contribute to the behavior.