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

workflowContext should be a unmodifiable

    Details

    • Fix Priority:
      2

      Description

      The design of workflowContext in KaleoInstance is not fork/thread/cluster safe. There is no database row level locking to prevent dirty reads from and competing writes to workflowContext as a Map or as a string. This also applies to Java code and KaleoTaskInstanceToken.workflowContext and KaleoTimerInstanceToken.workflowContext. Liferay should add explicit declaration of this design and behavior in documentations like https://help.liferay.com/hc/en-us/articles/360028818852-Leveraging-the-Script-Engine-in-Workflow

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rafael.praxedes Rafael Praxedes
              Reporter:
              jamie.sammons Jamie Sammons
              Participants of an Issue:
              Recent user:
              Rafael Praxedes
              Engineering Assignee:
              Rafael Praxedes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                45 weeks, 6 days ago

                  Packages

                  Version Package
                  Master