It's all about the answers!

Ask a question

Error When Loading Plan


Dax Haslam (2025) | asked Oct 30 '12, 12:41 p.m.

I have a plan view that throws the following error when loading in the web client (this is with the debug flag enabled but error occurs regardless):

TypeError: Cannot read property 'id' of undefined
TypeError: Cannot read property 'id' of undefined
at dojo.declare.getId (https://rtc.domain.com/ccm/web/com.ibm.team.apt.web.client/internal.items.planning.ConfigurationElement.js?debug=true&etag=XjCmUG8&_proxyURL=%2Fccm:24:22)
at Function.ResolvedPlanMode.isDefaultConfigurationElement (https://rtc.domain.com/ccm/web/com.ibm.team.apt.web.ui/internal.editor.config.ResolvedPlanMode.js?debug=true&etag=XjCmUG8&_proxyURL=%2Fccm:715:19)
at dojo.declare.constructor (https://rtc.domain.com/ccm/web/com.ibm.team.apt.web.ui/internal.editor.config.ResolvedPlanMode.js?debug=true&etag=XjCmUG8&_proxyURL=%2Fccm:177:26)
at new (https://rtc.domain.com/ccm/web/dojo/dojo.js?debug=true&etag=XiLgKKc&_proxyURL=%2Fccm:2870:8)
at null. (https://rtc.domain.com/ccm/web/com.ibm.team.apt.web.ui/internal.editor.config.PlanModeClient.js?debug=true&etag=XjCmUG8&_proxyURL=%2Fccm:94:28)
at null.fCallback (https://rtc.domain.com/ccm/web/dojo/dojo.js?debug=true&etag=XiLgKKc&_proxyURL=%2Fccm:1962:54)
at dojo.declare.callback (https://rtc.domain.com/ccm/web/com.ibm.team.apt.shared.client/internal.util.AbstractFuture.js?debug=true&etag=XiYAReI&_proxyURL=%2Fccm:55:10)
at dojo.declare.withItems (https://rtc.domain.com/ccm/web/com.ibm.team.apt.web.client/PlanningItemStore.js?debug=true&etag=XjCmUG8&_proxyURL=%2Fccm:246:11)
at null. (https://rtc.domain.com/ccm/web/com.ibm.team.apt.web.ui/internal.editor.config.PlanModeClient.js?debug=true&etag=XjCmUG8&_proxyURL=%2Fccm:100:33)
at null.fCallback (https://rtc.domain.com/ccm/web/dojo/dojo.js?debug=true&etag=XiLgKKc&_proxyURL=%2Fccm:1962:54)

This problem occurs for all Plans associated with this team area regardless of Iteration (however any plans associated with the parent team area are fine).

This initially started when I was attempting to customize some views using the Eclipse Client.  I had copied a view in the Eclipse client and then from the web client created an expression (restrict owned by field).  Then upon viewing/saving the custom view in the eclipse client it stopped working in the web client.  I was able to fix it by deleting the custom view.

However now I don't have any custom views in place and the problem has started occurring again (again seemed to occur while jumping between eclipse and web view).

Any ideas on how to fix these plans so they load correctly in the webclient?

Accepted answer


permanent link
Daniel Pool (2644) | answered Oct 30 '12, 7:58 p.m.
JAZZ DEVELOPER
Dan,

This looks similar to an issue being tracked in jazzdev.


which refers to


which says...

Today we have fixed this problem.
What was the problem? There where "invalid plan modes" inside the process configuration. Deleting them fixed the problem.

How did we do it?
- Opening the "Project Area" in Eclipse by right clicking it and choosing "open".
- choose "Process Configuration"
- expand "Project Configuration > Configuration Data > Planning" and open Plan Modes (unconfigured)
- mark "Invalid Plan Modes" and click on delete
- click on save

If this fixes the issue could you do me a favor and add a comment to the defect Better handle corrupt or invalid view modes while loading a plan (230709) that you experienced this problem?

Thanks,
Daniel
Dax Haslam selected this answer as the correct answer

Comments
Dax Haslam commented Nov 04 '12, 11:29 p.m. | edited Nov 04 '12, 11:36 p.m.

Thanks Dan that worked! - So in my scenario we have another project using a shared process from another project.  I ended up doing a slight variation on your steps to get this to work:


Open the "Child Project" area in Eclipse and select Process Configuration tab.

Project Configuration -> Configuration Data -> Planning -> Plan Views

Click “Customize this Configuration Data” and I saw multiple “Invalid Plan Mode” options.  I deleted the invalid plan modes.  Saved and then reverted the Process Configuration Source so that it would continue to inherit from the other process area.  This fixed my plans... Oddly though when you go back and look in the Plan Views section again of the child project area it still has an invalid plan area and I can't seem to actually get rid of it... However the plan views still work.


Andrew Codrington commented Oct 09 '13, 5:10 p.m.

Well, that was exciting.

Pressed 'Save' after editing a plan view in Eclipse 3.6 with the 4.1 RTC client plugin on a 4.0.2 server. Then the phone started ringing....

Deleted the Invalid plan view and things seem sane again.

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.