Error "cannot modify attribute on a deleted object" from a DXL attribute

Technote (troubleshooting)


Problem(Abstract)

A DXL attribute may generate the error "cannot modify attribute on a deleted object" when deleted Objects are shown in the view. This issue is not seen with older versions of DOORS.

Symptom

DXL error -"cannot modify attribute on a deleted object"

Cause

This issue is caused when the DXL attribute tries to update the value for a deleted Object. This has been logged as a defect for DOORS 9.2 with APAR number PK93924

Resolving the problem

As a work around you can make sure not to have deleted Objects shown in the view with DXL attribute columns.

Alternatively you can work around this issue by modifying the DXL behind the DXL attribute. Modify the DXL to have the entire DXL script for the attribute within the following condition.



    if(!isDeleted obj) {        

                               

                               

    }



Rate this page:

(0 users)Average rating

Document information


More support for:

Rational DOORS
General Information

Software version:

9.2

Operating system(s):

Windows

Reference #:

1397052

Modified date:

2011-05-12

Translate my page

Machine Translation

Content navigation