Assertion faliled error when updating attribute of Integer type in Work Item.
When I am trying to update attribute of Integer type in work item(Working Copy), Then by using saveWorkItem method I am unable to save the work item, even though I am sending Integer object as attribute value.
But same code works fine , when Attribute is of String type and and value being set is of String type.
But same code works fine , when Attribute is of String type and and value being set is of String type.
One answer
Are you using the API or typical usage through the web ui?
You will need to gather some more information about the 'assertion failed' error. If you are using the API, try to reproduce in the web UI using normal usage by updating the attribute. You can add debug=true? after the # in your URL, and this will enable some debug trace to give you a full error.
I have seen assertion failed errors in past PMRs where there was a faulty customization through the source which was not initialized properly.
You will need to gather some more information about the 'assertion failed' error. If you are using the API, try to reproduce in the web UI using normal usage by updating the attribute. You can add debug=true? after the # in your URL, and this will enable some debug trace to give you a full error.
I have seen assertion failed errors in past PMRs where there was a faulty customization through the source which was not initialized properly.
Comments
Lauren Hayward Schaefer
JAZZ DEVELOPER Jan 02 '13, 6:46 a.m.Hi Sarthak,
Were you able to resolve this issue? If not, can you include the code you are using and the errors you getting?