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