Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.6.0.GA, 7.7.0.GA
    • Fix Version/s: 7.8.0.GA
    • Component/s: jBPM Core
    • Labels:
      None
    • Environment:
      • Red Hat Process Automation Manager (RHPAM) 7.6.0
      • used myTest.bpmn process (attached with this JIRA);
    • Target Release:
    • Fix Build:
      CR1
    • Affects:
      Release Notes
    • Release Notes Text:
      Timer expressions with double quotes, e.g. #{java.lang.System.getProperty("delayInProductionEnv","PT10M")} are now interpreted correctly.
    • Sprint:
      2020 Week 13-15 (from Mar 23), 2020 Week 16-18 (from Apr 13), 2020 Week 19-21 (from May 4)
    • QE Test Coverage:
      +

      Description

      The following expression in the intermediate timer:

      #{java.lang.System.getProperty("delayInProductionEnv","PT10M")}
      

      fails with the following message:
      "Process Compilation error Syntax error on tokens, delete these tokens"

      However, using a single quote instead of double works fine:

      #{java.lang.System.getProperty('delayInProductionEnv','PT10M')}
      

      Acceptance Criteria

      #{java.lang.System.getProperty("delayInProductionEnv","PT10M")} 
      

      Expression should work without any errors at runtime for all properties where expression can be used.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                elguardian Enrique González Martínez
                Reporter:
                bkramer Biljana Kramer
                Tester:
                Marian Macik
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: