Creating or viewing a work item results in a blank page and not an object error with RTC 4.0.4

Flash (Alert)


Abstract

This Alert is meant to inform you about an issue that can occur after upgrading to IBM Rational Team Concert (RTC) 4.0.4 where attempts to open or create a work item results in an error: "'this.$.currentStyle' is null or not an object".

Content

Subscribe to My Notifications to be notified of important product support alerts like this.
  • Follow this link for more information (requires login with your IBM ID)

Symptoms

When opening work items or creating a new work item, a blank page and the following error is displayed in the Web User Interface (UI).


'this.$.currentStyle' is null or not an object
ckeditor.js
Code: 0

In the RTC eclipse client, the work items can be opened and new work items can be created.


Cause


There are deprecated presentations in the work item editor presentation. There are attributes of type HTML that have a string presentation or there are attributes of type string that have an HTML presentation.

This is a known defect in RTC 4.0.4, filed under APAR PM98897 and further detailed in Jazz Work Item Fix handling of deprecated presentations in migration to new widgets (283200)


As of RTC 4.0.4, HTML attributes can only have HTML presentations and String attributes can only have String presentations. Incorrect pair matchings will show warnings in the editor presentations process editor in the RTC Eclipse client and are marked as deprecated presentation (see the screen shot below). This warning will prevent work items using the affected editor presentations from creating or displaying in the web client. These presentations were marked as deprecated but backward compatibility is still an issue in 4.0.4. This has been fixed in the 4.0.5 release.




See the following details for a list of deprecated presentations in 4.0.4:

Deprecated presentations for string attributes
com.ibm.team.workitem.kind.smallhtml
com.ibm.team.workitem.kind.html
com.ibm.team.workitem.kind.internal.description


Deprecated presentations for html attributes

com.ibm.team.workitem.kind.string


Reproducing the issue

  1. Open Process Configuration of the Project Area.
  2. Go to Project Configuration > Configuration Data > Work Items > Editor Presentations.
    If there are any deprecated presentations for HTML or string attributes, you have run into the defect.

Resolving the issue

Once available, upgrade to RTC release 4.0.5 to resolve this issue.

Refer to the RTC downloads page on Jazz.net for information about the availability of the 4.0.5 release.

WORKAROUND

  1. Open Process Configuration in the open Project Area Editor

  2. Edit the deprecated presentations in Project Configuration > Configuration Data > Work Items > Editor Presentations.

  3. Change the presentation so that attributes of type string have a string presentation and attributes of type HTML have an HTML presentation.

  4. Save the Project Area.

Leverage the Jazz Community

The Jazz based products have an active community that can provide you with additional resources. Browse and contribute to the User forums, contribute to the Team Blog and review the Team wiki.
Refer to technote 1319600 for details and links.


Product Alias/Synonym

RTC

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Team Concert
Work Items

Software version:

4.0.4

Operating system(s):

AIX, Linux, Windows

Reference #:

1652067

Modified date:

2013-11-15

Translate my page

Machine Translation

Content navigation