It's all about the answers!

Ask a question

Javascript error on RTC 3 iFix1 on Resolution Change


Alexander Schinko (35511812) | asked Mar 31 '11, 12:47 p.m.
Hello,

in the RTC web client we got an browser error popup message "TypeError: this.__workItemAdapter is undefined" all the time when changing any work item status with any Resolution linked.

This mainly happens on any custom workflow, which is not the default workflow (e.g risk workflow).

The workflow works after normaly, but as we cannot surpress the popup, it is a very anoying issue.

This is a blocking isse. Can anyone help to fix this please?

Here the stack trace:

TypeError: this.__workItemAdapter is undefined
File: https://rtcserver:9443/jazz/web/com.ibm.team.workitem.web/ui.internal.view.layout.EnumerationWidget.js?debug=true&etag=CBcdAc (Line: 596)

Stack:
()@https://rtcserver:9443/jazz/web/com.ibm.team.workitem.web/ui.internal.view.layout.EnumerationWidget.js?debug=true&etag=CBcdAc:596
()@https://rtcserver:9443/jazz/web/com.ibm.team.workitem.web/ui.internal.view.layout.EnumerationWidget.js?debug=true&etag=CBcdAc:588
(,false)@https://rtcserver:9443/jazz/web/com.ibm.team.workitem.web/ui.internal.view.layout.EnumerationWidget.js?debug=true&etag=CBcdAc:518
()@https://rtcserver:9443/jazz/web/com.ibm.team.workitem.web/ui.internal.view.editor.parts.ResolutionAttributePart.js?debug=true&etag=CBcdAc:199
()@https://rtcserver:9443/jazz/web/com.ibm.team.repository.web/transport.ServiceResponseHandler.js?debug=true&etag=CR4AuM:78
()@https://rtcserver:9443/jazz/web/com.ibm.team.repository.web/transport.TeamServerClient.js?debug=true&etag=CR4AuM:110
callContributedCode((function () {serviceResponseHandler.doCallback(responseObj);}))@https://rtcserver:9443/jazz/web/net.jazz.ajax/core.internal.util.js?debug=true&etag=CR2hKw:26
handleCallback(,,)@https://rtcserver:9443/jazz/web/com.ibm.team.repository.web/transport.TeamServerClient.js?debug=true&etag=CR4AuM:109
()@https://rtcserver:9443/jazz/web/com.ibm.team.repository.web/transport.TeamServerClient.js?debug=true&etag=CR4AuM:72
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4113
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4139
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4028
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4050
()@https://rtcserver:9443/jazz/web/jazz.client/xhr.js?debug=true&etag=ISi7b:370
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4113
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4139
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4028
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4050
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:10376
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:10261
(-37)@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:10280

5 answers



permanent link
Fredrik Ivansson Flinta (1621) | answered Apr 28 '11, 8:07 a.m.
Hello,

I'm getting the same error when using custom workflows in RTC 3.0 iFix 1.

Very annoying , it works fine from the Eclipse client but from the web UI i get : "TypeError: this.__workItemAdapter is undefined" when changing to a state that have resolution linked to it.

Hope someone can respond to this..


Hello,

in the RTC web client we got an browser error popup message "TypeError: this.__workItemAdapter is undefined" all the time when changing any work item status with any Resolution linked.

This mainly happens on any custom workflow, which is not the default workflow (e.g risk workflow).

The workflow works after normaly, but as we cannot surpress the popup, it is a very anoying issue.

This is a blocking isse. Can anyone help to fix this please?

Here the stack trace:

TypeError: this.__workItemAdapter is undefined
File: https://rtcserver:9443/jazz/web/com.ibm.team.workitem.web/ui.internal.view.layout.EnumerationWidget.js?debug=true&etag=CBcdAc (Line: 596)

Stack:
()@https://rtcserver:9443/jazz/web/com.ibm.team.workitem.web/ui.internal.view.layout.EnumerationWidget.js?debug=true&etag=CBcdAc:596
()@https://rtcserver:9443/jazz/web/com.ibm.team.workitem.web/ui.internal.view.layout.EnumerationWidget.js?debug=true&etag=CBcdAc:588
(,false)@https://rtcserver:9443/jazz/web/com.ibm.team.workitem.web/ui.internal.view.layout.EnumerationWidget.js?debug=true&etag=CBcdAc:518
()@https://rtcserver:9443/jazz/web/com.ibm.team.workitem.web/ui.internal.view.editor.parts.ResolutionAttributePart.js?debug=true&etag=CBcdAc:199
()@https://rtcserver:9443/jazz/web/com.ibm.team.repository.web/transport.ServiceResponseHandler.js?debug=true&etag=CR4AuM:78
()@https://rtcserver:9443/jazz/web/com.ibm.team.repository.web/transport.TeamServerClient.js?debug=true&etag=CR4AuM:110
callContributedCode((function () {serviceResponseHandler.doCallback(responseObj);}))@https://rtcserver:9443/jazz/web/net.jazz.ajax/core.internal.util.js?debug=true&etag=CR2hKw:26
handleCallback(,,)@https://rtcserver:9443/jazz/web/com.ibm.team.repository.web/transport.TeamServerClient.js?debug=true&etag=CR4AuM:109
()@https://rtcserver:9443/jazz/web/com.ibm.team.repository.web/transport.TeamServerClient.js?debug=true&etag=CR4AuM:72
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4113
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4139
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4028
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4050
()@https://rtcserver:9443/jazz/web/jazz.client/xhr.js?debug=true&etag=ISi7b:370
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4113
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4139
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4028
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:4050
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:10376
()@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:10261
(-37)@https://rtcserver:9443/jazz/web/dojo/dojo.js?debug=true&etag=ISHGJ:10280
:evil:

permanent link
Eduardo Bello (4401821) | answered Apr 28 '11, 2:20 p.m.
Same error here, very annoying.

permanent link
Jiong Xie (7154) | answered May 01 '11, 6:18 a.m.
JAZZ DEVELOPER
I confirm the same error, very annoying.

permanent link
Oliver Vinn (261) | answered Jun 29 '11, 7:57 a.m.
I confirm I get this and many similar errors when using the web client... save failed, plan wont load error error etc...

I haven't seen an improvement in this situation over time which makes me think:

1. The error reporting is inadequete for them to make use of it, so improve it 2. They dont have enough data, so work with your customers to get that data

permanent link
Ralph Schoon (61.4k33643) | answered Jun 29 '11, 12:42 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I confirm the same error, very annoying.


I created https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=170294 to track this.

If you have blocking issues and want it to be fixed please be proactive and create a work item - it is not rocket science :D

Your answer


Register or to post your answer.