It's all about the answers!

Ask a question

Error in webui creating my own work item


Shawn Lauzon (38174) | asked Apr 14 '08, 3:32 p.m.
I'm trying to take the Retrospective work item type from the Scrum template and copying it into my existing process. I now see the choice to create a Retrospective, but when I say to create it in the webui, I get the following error:

TypeError: section.presentations has no properties

I think I'm copying everything over that I need to, but I still don't see the problem. Any ideas?

4 answers



permanent link
Corville Allen (511) | answered Apr 14 '08, 4:45 p.m.
I get a similar error in the Web UI, when I do a query for retrospective.

It says, this query_links has no properties.

I'll also look around.

permanent link
Kai-Uwe Maetzel (85611) | answered Apr 15 '08, 5:04 p.m.
JAZZ DEVELOPER
I suspect that you only grabbed the work item type definition but not
the editor presentation associated with that work item type. The editor
presentation is also specified in the process specification within the
configuration data section.

Kai
Jazz Process Team

shawnlauzon wrote:
I'm trying to take the Retrospective work item type from the Scrum
template and copying it into my existing process. I now see the
choice to create a Retrospective, but when I say to create it in the
webui, I get the following error:

TypeError: section.presentations has no properties

I think I'm copying everything over that I need to, but I still don't
see the problem. Any ideas?

permanent link
Shawn Lauzon (38174) | answered Apr 16 '08, 5:06 p.m.
I would suspect that also, except it doesn't seem to be the case. I have this in my Process Specification, which I copied from a sample Scrum process which I created.

<editor id="com.ibm.team.workitem.editor.retrospective">
<tab tabId="com.ibm.team.workitem.tab.retroOverview" title="Overview"/>
<tab tabId="com.ibm.team.workitem.tab.links" title="Links"/>
<tab tabId="com.ibm.team.workitem.tab.customAttributes" title="Custom">
<property key="hideIfEmpty" value="true"/>
</tab>
<tab tabId="com.ibm.team.workitem.tab.history" title="History"/>
</editor>
<section id="com.ibm.team.workitem.section.RetroDetails">
<presentation attributeId="com.ibm.team.workitem.attribute.creationdate">
<property key="readonly" value="true"/>
</presentation>
<presentation attributeId="com.ibm.team.workitem.attribute.creator">
<property key="readonly" value="true"/>
</presentation>
<presentation id="com.ibm.team.workitem.presentation.teamArea" kind="com.ibm.team.workitem.kind.internal.teamarea"/>
<presentation kind="com.ibm.team.workitem.kind.separator"/>
<presentation attributeId="com.ibm.team.workitem.attribute.category" kind="com.ibm.team.workitem.kind.internal.category"/>
<presentation kind="com.ibm.team.workitem.kind.separator"/>
<presentation attributeId="com.ibm.team.workitem.attribute.owner">
<property key="warningMessage" value="Owner does not belong to Team Area"/>
</presentation>
<presentation attributeId="com.ibm.team.workitem.attribute.target" kind="com.ibm.team.workitem.kind.internal.target"/>
<presentation attributeId="com.ibm.team.workitem.attribute.resolutiondate">
<property key="readonly" value="true"/>
<property key="hideIfEmpty" value="true"/>
</presentation>
<presentation attributeId="com.ibm.team.workitem.attribute.resolver">
<property key="readonly" value="true"/>
<property key="hideIfEmpty" value="true"/>
</presentation>
<presentation kind="com.ibm.team.workitem.kind.separator"/>
</section>
<tab id="com.ibm.team.workitem.tab.retroOverview" layout="builtInOverviewLayout">
<section sectionId="com.ibm.team.workitem.section.RetroDetails" slot="details" title="Details"/>
<section sectionId="com.ibm.team.workitem.section.linksSummary" slot="linksSummary" title="Quick Information"/>
<section sectionId="com.ibm.team.workitem.section.description" slot="description" title="Description"/>
<section sectionId="com.ibm.team.workitem.section.discussion" slot="discussion" title="Discussion"/>
</tab>

permanent link
Marcel Bihr, Jazz Work Item team (1.4k) | answered Apr 17 '08, 3:25 a.m.
JAZZ DEVELOPER
shawnlauzon wrote:
I'm trying to take the Retrospective work item type from the Scrum
template and copying it into my existing process. I now see the
choice to create a Retrospective, but when I say to create it in the
webui, I get the following error:

TypeError: section.presentations has no properties

I think I'm copying everything over that I need to, but I still don't
see the problem. Any ideas?


The editor presentations description looks fine. Be aware that the
editor has to be bound to the workitem type, too (otherwise the default
editor will be used).
To reproduce the problem, we need a bit more context. IMO the best way
is to open a defect against Work Items and attach your (whole) process
specification.

Regards

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