It's all about the answers!

Ask a question

WidgetUtil is not defined


Karen Witt (1654) | asked Oct 03 '08, 5:26 p.m.
We have created several customized work item types, all of which seem to be working correctly in the windows/linux clients. However, one of the work item types cannot be created through the web ui. And any of the work items of that type cannot be displayed through the web ui.

From Firefox, we are getting this message:

"ReferenceError: WidgetUtil is not defined"

From IE, we get this message:

"TypeError: 'null' is null or not an object"


I have tried systematically removing attributes from the form and have not found the culprit yet.

I ran across another post in which someone else had the same error message. I believe theirs was related to the use of "Resolved by" and "Resolved" fields. We don't have those on our form.

What could be wrong?

3 answers



permanent link
Patrick Streule (4.9k21) | answered Oct 06 '08, 3:46 a.m.
JAZZ DEVELOPER
We have created several customized work item types, all of which seem
to be working correctly in the windows/linux clients. However, one
of the work item types cannot be created through the web ui. And any
of the work items of that type cannot be displayed through the web
ui.

From Firefox, we are getting this message:

"ReferenceError: WidgetUtil is not defined"

From IE, we get this message:

"TypeError: 'null' is null or not an object"


I have tried systematically removing attributes from the form and have
not found the culprit yet.

I ran across another post in which someone else had the same error
message. I believe theirs was related to the use of "Resolved
by" and "Resolved" fields. We don't have those on our
form.

What could be wrong?

This seems to be the following issue:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/58504

The defect is caused by empty attribute value sets, and has been fixed
for 1.0.1 M2. Please check the work item for possible workarounds.

Regards
Patrick
Jazz Work Item Team

permanent link
Karen Witt (1654) | answered Oct 06 '08, 10:01 a.m.
Hi,

Thanks for the reply. We are using 1.0.1 M2 for our clients. However, the server is still at 1.0.

Our symptoms are slightly different -- the problem doesn't go away by clicking on a different type of work item. And we are not using the "resolved by" and "resolved" fields, as described in the 58504 defect.

There is one other thing that is interesting in our custom work item type. We added a field for "Completed By" and chose "Contributor" for the "Editor Presentation". Through the windows client, when I try to create one of our work items, the pull down list for the "Completed By" field does not have any values -- just shows "Retrieving". I have tried eliminating the "Completed By" field from the work item type to see if that fixes the web UI, but it does not.

So, yes it seems that the problem is similar in some ways to 58504, but since we are already using 1.0.1 M2, this must not be the exact same problem.

Any other ideas?

Karen Witt

This seems to be the following issue:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/58504

The defect is caused by empty attribute value sets, and has been fixed
for 1.0.1 M2. Please check the work item for possible workarounds.

Regards
Patrick
Jazz Work Item Team

permanent link
Patrick Streule (4.9k21) | answered Oct 06 '08, 10:31 a.m.
JAZZ DEVELOPER
There is one other thing that is interesting in our custom work item
type. We added a field for "Completed By" and chose
"Contributor" for the "Editor Presentation".
Through the windows client, when I try to create one of our work
items, the pull down list for the "Completed By" field does
not have any values -- just shows "Retrieving". I have
tried eliminating the "Completed By" field from the work
item type to see if that fixes the web UI, but it does not.

We currently don't support item references in custom attributes.
However, the UI allows you to choose any presentation for an attribute.
This is defect
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/62088


So, yes it seems that the problem is similar in some ways to 58504,
but since we are already using 1.0.1 M2, this must not be the exact
same problem.

The Web UI and the services it uses both live on the server, so until
you upgrade the server from 1.0 to 1.0.1 M2 or M3, too, you are still
likely to see #58504.

HTH,
Patrick
Jazz Work Item Team

Your answer


Register or 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.