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

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2, 6.2.0 CE M4
    • Component/s: DM, DM > WebDAV
    • Labels:
      None
    • Environment:
      WebDAV connection only tested from a Win7 x64 PC.
    • Fix Priority:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 49 weeks ago

                Packages

                Version Package
                6.1.1 CE GA2
                6.1.20 EE GA2
                6.2.0 CE M4