Wrong parsing of expression in log wizard

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Trivial
    • 1.8.5rc1
    • Affects Version/s: 1.8.4
    • Component/s: None
    • None

      Create a trigger with expression like this:

      ((

      {HostD:log[/var/log/messages].iregexp(error)}

      )#0) & ((

      {HostD:log[/var/log/messages].iregexp("CPr::updateLicenseStatus\(\)")}

      )=0)

      Open it in log wizard and observe:

      Incorrect count of quotes in expression
      Check expression part starting from " ((

      {HostD:log[/var/log/messages].iregexp(error)}

      )#0) & ((

      {HostD:log[/var/log/messages].iregexp("CPr::updateLicenseStatus\(\"))}

      )=0) "

            Assignee:
            Unassigned
            Reporter:
            Konstantin Buravcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: