Menu

#12 Overwriting of architecture .inc files.

Design
closed-fixed
GUI Issue (89)
5
2000-10-26
2000-10-05
Geoff Hall
No

The user is able to incorrectly overwrite the RESPONSE_CODE.INC and the GLOBAL_VARIABLES.INC files if these are edited before a captured script is saved.

Discussion

  • Richard Clarke

    Richard Clarke - 2000-10-25

    All files included in scripts using the SCL INCLUDE command are held in the project 'source' directory together with all script source files. However, the Modeler creates and modifies scripts in a temporary work directory (in a subdirectory of the project .TMP directory). In order for an included file to be picked up when a script is compiled in one of these temporary work directories, either the script must specify a path to the file in the INCLUDE command, or the file must be copied to the work directory. The Modeler previously copied files to the work directory. The Modeler could also copy back these files - overwriting the 'master' files in the 'source' directory - which may have been edited.

    The following modifications have been made:

    1. A new command line switch (-I or --include) has been added to SCL. This specifies the name of a single directory which will be searched for an include file, if the file is not found.

    2. The Modeler has been modified to specify the -I switch when compiling all scripts. This specifies the project 'source' directory.

    3. The Modeler no longer copies the RESPONSE_CODE.INC and GLOBAL_VARIABLES.INC files to the temporary work directory. The files always remain in the project 'source' directory.

    Fixed in CVS.

     
  • Geoff Hall

    Geoff Hall - 2000-10-26
    • status: open --> open-fixed
     
  • Geoff Hall

    Geoff Hall - 2000-10-26

    Fix available in Release 0.9.2.

     
  • Geoff Hall

    Geoff Hall - 2000-10-26
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB