IBM Support

DXL query for module level discussion status output results are inconsistent

Troubleshooting


Problem

Attempts to run a DXL query for a module level discussion status results in inconsistent output when using IBM Rational DOORS.

Symptom

DXL perm for discussions status is not working as intended; status property of Discussion is not consistent, unless refreshed.

Steps to reproduce:

  1. Open a formal module
  2. Create a new module discussion using the discussions menu
  3. Open the DXL Editor and run following script


    Discussion myD
    for myD in current Module do {
    if (myD.status == Open) {
    print "OPEN DISCUSSION: " myD.summary
    print "\n"
    }
    }


    The output will show the newly opened discussion.
  4. Click View module discussions from the formal module Discussions menu
  5. Click Close discussion
  6. Click OK to close the discussions dialog box
  7. Run the DXL script again to query the discussion status

    The output shows the discussion as open
  8. Open then close the view module Discussions
  9. Run the DXL script again

    Now the discussion is recognized as closed.

Cause

This has been identified as a product defect under APAR PM37652.

Resolving The Problem

WORKAROUND:

There are two suggestions to correct for this behavior

  • In the DXL query use getDiscussions before looping through discussions, to force a refresh of discussions
  • Reopen the module and or Refresh discussion from GUI

[{"Product":{"code":"SSKR2T","label":"IBM Engineering Requirements Management DOORS"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"9.3.0.4;9.3.0.3;9.3.0.2;9.3.0.1;9.3","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
01 May 2020

UID

swg21516421