Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-563

SystemMonitor does not generate notification when the job/job chain name contains special characters like "( ), @"

    XMLWordPrintable

Details

    Description

      Current Behavior
      When a job/job chain is being monitored by any System Monitor and job/jobchain name contains any special character like "( ), @", then the System Monitor does not generate notifications if the job gets failed.

      How to reproduce

      • Create a standalone job for example name is "job(one)"
      • Create a SystemMonitorNotification_MonitorSystem.xml file in a way that it monitors this standalone job and generates a notification if the job gets failed.
      • Run the job and if the job fails then the SystemMonitor does not generate notifications.

      Desired Behavior
      SystemMonitor should generate notification even if the job/job chain names contain special characters like "( ), @" in it.

      Maintainers Note
       Monitoring interface uses Java regular expressions to evaluate the job or job chains names. So, if the job/job chain names contain RegExp characters they must be escaped by a backslash character.

      For eg:

      • If the folder test contains a job with a name job(one), then in the System Monitor Notification file, it should be used as:
        • <Job name="test/job\(one\)" notifications="1" />

       

      Attachments

        Activity

          People

            re Robert Ehrlich
            Kanika-Agrawal Kanika Agrawal
            Kanika Agrawal Kanika Agrawal
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: