Details

    • Fix Priority:
      3

      Description

      Attaching a "private message" notification to a workflow state in the Kaleo editor prevents the workflow to be saved.
      The problem is that the value associated with the "private Message" choice is "privateMessage" whereas the XDS says it should be "private-message"

      Here is the part of the stacktrace that show the issue :

      [...]
      at java.lang.Thread.run(Thread.java:744)
      Caused by: com.liferay.portal.kernel.workflow.WorkflowException: Unable to parse definition
      at com.liferay.portal.workflow.kaleo.parser.XMLWorkflowModelParser.parse(XMLWorkflowModelParser.java:69)
      at com.liferay.portal.workflow.kaleo.runtime.DefaultWorkflowEngineImpl.validateWorkflowDefinition(DefaultWorkflowEngineImpl.java:509)
      ... 216 more
      Caused by: com.liferay.portal.kernel.xml.DocumentException: Error on line 50 of document : cvc-enumeration-valid: Value 'privateMessage' is not facet-valid with respect to enumeration '[email, im, private-message, user-notification]'. It must be a value from the enumeration. Nested exception: cvc-enumeration-valid: Value 'privateMessage' is not facet-valid with respect to enumeration '[email, im, private-message, user-notification]'. It must be a value from the enumeration.
      at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:393)
      at com.liferay.portal.kernel.xml.SAXReaderUtil.read(SAXReaderUtil.java:141)
      at com.liferay.portal.workflow.kaleo.parser.XMLWorkflowModelParser.doParse(XMLWorkflowModelParser.java:78)
      at com.liferay.portal.workflow.kaleo.parser.XMLWorkflowModelParser.parse(XMLWorkflowModelParser.java:66)
      ... 217 more
      Caused by: org.dom4j.DocumentException: Error on line 50 of document : cvc-enumeration-valid: Value 'privateMessage' is not facet-valid with respect to enumeration '[email, im, private-message, user-notification]'. It must be a value from the enumeration. Nested exception: cvc-enumeration-valid: Value 'privateMessage' is not facet-valid with respect to enumeration '[email, im, private-message, user-notification]'. It must be a value from the enumeration.
      at org.dom4j.io.SAXReader.read(SAXReader.java:482)
      at org.dom4j.io.SAXReader.read(SAXReader.java:343)
      at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:390)
      ... 220 more

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 days ago