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

WebDAV doesn't initialize serviceContext for workflows

Details

    • 4

    Description

      Managing files in a folder with activated workflow by webdav will throw errors if the workflow uses serviceContext while managing at the website will work fine.

      Steps:
      1. Create and activate a workflow definition which uses serviceContext (like a freemarker notification with ${serviceContext.portalURL} in it)
      2. Create a folder and add the workflow to it
      3. Set up access to this folder by webdav from your desktop
      4. Add a file to the folder by the website
      5. Add a file to the folder by webdav

      While 4. will work fine, 5. will throw a stacktrace that it is undefined. Seems like webdav doesn't initialize serviceContext for workflows. The workflow will stop working and the file stays "pending".

      Attachments

        Activity

          People

            sergio.gonzalez Sergio Gonzalez (Inactive)
            mod David Kubitza (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 11 weeks, 2 days ago

              Packages

                Version Package
                6.1.1 CE GA2
                6.1.20 EE GA2
                6.2.0 CE M4