Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

TypeError: _7a undefined


Hi,
I have created an attribute named Record for Story work item having values (required,not required,done,in Progress)
So when ever the user selects required a new record work item is created and linked as child item to the story.
Record work items can have approvals with state -Approved/Pending/Rejected.
I wrote a custom advisor RecordStatePrevention advisor which prevents the transtition of record to completed state if it has any pending approvals.
When I try to change the state of record(with pending approvals) to complete state from the record item editor the exception is being thrown as per required behavior(implemented in advisor)
But when i try to change the record (with pending approvals) to complete from the story editor I get a javascript error "TypeError : _7a undefined" whereas I should be getting the same exception as in above case.
When I checked the logs i realised that the exception is thrown properly even at previous case but the UI throws some javascript error. Could you please guide me on this? What I am doing wrong.

Thanks,
Aastha
 |

0 votes



One answer

Permanent link
This error was resolved when I handled the modification of record status from the story work item editor in the same advisor where I was handling the modification of record status from the record work item editor.
Though I am still not clear that what caused this error. I am suspecting as story and record work items are linked if the error is thrown at record level it is not propagated to the story level editor.

0 votes

Comments

If someone has a clear understanding of this particular type of javascript error please help me understand it.

Thanks in Advance,
Aastha

Your answer

Register or log in to post your answer.

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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Feb 24 '15, 3:05 a.m.

Question was seen: 3,104 times

Last updated: Mar 31 '15, 11:58 a.m.

Confirmation Cancel Confirm