Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-86816

Workflows with a wrong groovy script should trace a message with ERROR level instead of DEBUG

    Details

      Description

      Workflows with a wrong groovy script should trace a message with ERROR level after script execution, now the message is written only in case of activating DEBUG level

      Steps to Reproduce

      1. Create a workflow called "Wrong Workflow" using attached wrong_workflow.xml
      2. Go to "Documents and Media" and create a folder called "WrongFolder"
      3. Edit "WrongFolder" folder and configure "Wrong Workflow" as Default Workflow for all Document Types
      4. Import a file into "WrongFolder", the workflow will be launched
      5. Go to "User => My Workflow Tasks", assign it and approve
      6. If you check the imported file, you will notice it remains in "Pending" status.
      7. Check log file:
        • Expected behavior: a error message is displayed in log file after approval operation
        • Wrong behavior: no message is displayed in log file

        Attachments

          Activity

            People

            • Assignee:
              beck.liu Beck Liu
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                50 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 DXP FP66
                7.0.X
                7.1.10 DXP FP4
                7.1.10.1 SP1
                7.1.2 CE GA3
                7.1.X
                Master