Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-31488

salgenerator idl process fails if item description contains certain special characters

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Resolution: Done
    • None
    • ts_hardware
    • None
    • 0.5
    • TSSW Sprint - Aug 16 - Aug 30
    • Telescope and Site
    • No

    Description

      If the XML definition file contains square brackets ([]), curly braces ({}) or the dollar sign ($) in the <item> <description> field, the the

      salgenerator <CSC> idl

      process fails.

      Failure text:

             invalid command name ":index"
          while executing
      ":index"
          invoked from within
      "set METADATA(LOVE_command_requestAuthorization,cscsToChange,description) "Comma-separated list of csc_name[:index] of CSCs whose authorization is to b..."
          (file "/home/appuser/trunk/ts_sal/test/idl-templates/validated/LOVE_metadata.tcl" line 30)
          invoked from within
      "source $SAL_WORK_DIR/idl-templates/validated/[set base]_metadata.tcl"
          invoked from within
      "if { $OPTIONS(sal) } {
        set DONE_CMDEVT 0
        set ONEDDSGEN 0
        set ONEPYTHON 0
        if { [expr $OPTIONS(cpp) + $OPTIONS(isocpp) + $OPTIONS(java) + $OPTIO..."
          (file "/home/appuser/trunk/ts_sal/bin/salgenerator" line 311)

      This is currently occurring for the in the Authorize, ATSpectrograph and LOVE CSCs.

      Attachments

        Issue Links

          Activity

            dmills Dave Mills added a comment -

            Fixed in PR #136

            dmills Dave Mills added a comment - Fixed in PR #136
            rbovill Rob Bovill added a comment -

            Bug is fixed.

            rbovill Rob Bovill added a comment - Bug is fixed.

            People

              dmills Dave Mills
              rbovill Rob Bovill
              Rob Bovill
              Dave Mills, Rob Bovill
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.