Using external scripts for listboxes can result in unexpected values being returned in Rational Change

Technote (troubleshooting)


Problem(Abstract)

Attempts to use external scripts to populate a customized listbox might result in old or unexpected listbox values being returned in IBM Rational Change version 5.3.

Cause

There is a deliberate change in the behavior of listbox scripts in Rational Change release 5.3.0.2.

Rational Change release 5.2 uses a cache to store the values of the list boxes that have external scripts associated with them.

This setting was not configurable and provided as a mandatory setting.

As of release 5.3.0.2 this setting is configurable in pt.cfg file.

By default this setting will be set to true. This means attributes will use a cache to store and get the values.

Entry in pt.cfg should look like this:

[CCM_SYSTEM]
[CACHE_EXTERNAL_LISTBOX_VALUES]true/false[/CACHE_EXTERNAL_LISTBOX_VALUES]
[/CCM_SYSTEM]

  • For a value of true Rational Change will use the cache to get the attribute values.
  • For a value of false Rational Change will run the script and get the values.

If this setting is not present in the pt.cfg file, the default value of "true" will apply.

Resolving the problem

To Change the setting in the pt.cfg file, search for "CACHE_EXTERNAL_LISTBOX_VALUES" in the pt.cfg file and set the value to true or false as required.

If this entry is not present in the this configuration file then first add the following lines at the end of the file and then replace "<actual_value>" with either "true" or "false" (without the quotes) as needed.


    [CCM_SYSTEM]

    [CACHE_EXTERNAL_LISTBOX_VALUES]<actual_value>

    [/CACHE_EXTERNAL_LISTBOX_VALUES]

    [/CCM_SYSTEM]


Stop and restart the Rational Change server for this parameter change to take effect.

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Change
General Information

Software version:

5.3.0.2, 5.3.0.3

Operating system(s):

AIX, Linux, Solaris, Windows

Reference #:

1579722

Modified date:

2012-04-30

Translate my page

Machine Translation

Content navigation