Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-778

The Configurations view in JOC Cockpit should accept only valid folder/file names

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.13
    • 1.13.2
    • None
    • None

    Description

      Current Situation

      • The directory structure does not include the symbols like "/*<>?" and "." if specified at the last. When any folder is created with any of the above-mentioned symbols in the name of the folder then the JOC Cockpit should not accept it.
      • When the symbols "<" and ">" are used JOC Cockpit throws java.nio.file.InvalidPathException: Illegal char <<> at index 11: /podiekopkd< error.
      • When the "/" or "\" then the JOC Cockpit accepts it but creates the folder with the name before the "/" or "\".
      • Also if the folder name has a "." at the end then the JOC Cockpit creates the folder and in the JOC Cockpit it is shown with "." but in the SCHEDULER_DATA/live directory it does not includes "." For example, if the folder name created is "abc." then in the /live directory it will be "abc" only but in JOC Cockpit it is shown as "abc."

      Desired behavior

      • The check should be applied at the time of folder creation only which will prevent the user from entering such symbols.

      Attachments

        Activity

          People

            ztsa0019 Sourabh Agrawal
            Kanika-Agrawal Kanika Agrawal
            Kanika Agrawal Kanika Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: