IBM Support

PK95606: DXL runtime error running DXL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Tlogic#33027.
    
    When customer starts the scrip below from DOORS 9.2 it doesn't
    work, but it ran fine in DOORS 8.1. The problem occures when
    trying to save views.
    
    The exception did only occur when the script was started from
    the DB
    explore.
    
    //
    ----------------------------------------------------------------
    -----------
    // save current view
    //
    void saveCurrentView (Module m) {
    
       string mName = m.'Name'
       print 'Module: ' mName '\n'
       string newViewName = doorsname '-Saved'
       Item modItem = item (mName)
       if ( !null modItem ) {
          View v = view (modItem, newViewName)
          if ( !null v ) {
             // make view private
             ViewDef vdp = createPrivate(m, true)
             if ( !null vdp ) {
                save(m, v, vdp)
                print 'Saved private ViewDef: ' name(v) '\n'
             }
             else {
                print 'ERROR: Could not create private ViewDef!'
             }
    
             // set all access rights for group 'Admins' to view
             string err = set(v, delete|control,'Admins')
             if ( !null err ) {
                print 'ERROR: ' err '\n'
             }
    
             save (m, v)
             print 'Saved view '' newViewName ''...'
          }
          else {
             print 'ERROR: New View is NULL!\n'
          }
       }
       else {
          print 'ERROR: Module item is NULL!\n'
       }
    }
    
    Module mod
    for mod in database do {
      // Just save views in writable modules
      if ( ( isEdit ( mod ) ) || ( isShare ( mod ) ) ) {
         saveCurrentView mod
      }
      // close every module
      // close mod
    }
    

Local fix

  •  A workaround which has the same
    effect as running the script from within the module, is to set
    the modules to be current prior to creating/editing the view.
    

Problem summary

  • Fixed in 9.2.0.2
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PK95606

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    920

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-09-08

  • Closed date

    2009-11-30

  • Last modified date

    2010-06-21

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R920 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSKR2T","label":"IBM Engineering Requirements Management DOORS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
01 May 2020