Troubleshooting
Problem
After you run the following DXL codes to disable a group, that group is still enabled.
Group g = find("Group1")
bool gDisabled
setGroup(g, disabled, true)gDisabled = g.disabled
print "Disabled=" gDisabled ""
Symptom
When you check the group in DOORS client, it is still enabled (Disable group option is NOT checked).
Note:
When a group is disabled, you would see a green cross in front of the group in "Manage Users - DOORS" screen.
In addition, the "Disable group" option is checked in "Edit Group - DOORS" screen.
Cause
After you make modification to users and groups with DXL, saveDirectory() is NOT called to save the modification.
Resolving The Problem
Add saveDirectory() at the end of the DXL codes.
Group g = find("Group1")
bool gDisabled
setGroup(g, disabled, true)
bool gDisabled
setGroup(g, disabled, true)
gDisabled = g.disabled
print "Disabled=" gDisabled ""
print "Disabled=" gDisabled ""
saveDirectory()
Document Location
Worldwide
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSKR2T","label":"IBM Engineering Requirements Management DOORS"},"Component":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Was this topic helpful?
Document Information
Modified date:
21 July 2020
UID
ibm12438007