Activiti
  1. Activiti
  2. ACT-1506

Can't deploy when element sequenceFlow contains conditionExpression and extensionElements

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.11
    • Fix Version/s: 5.11
    • Component/s: Designer
    • Labels:
      None
    • Number of attachments :
      1

      Description

      org.activiti.engine.ActivitiException: cvc-complex-type.2.4.d: Invalid content was found starting with element 'extensionElements'. No child element is expected at this point. | SequenceFlowWithCondition.bpmn20.xml | line 8 | column 26

      at org.activiti.engine.impl.util.xml.Parse.throwActivitiExceptionForErrors(Parse.java:186)
      at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:242)
      at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:92)
      at org.activiti.engine.impl.persistence.deploy.DeploymentCache.deploy(DeploymentCache.java:38)
      at org.activiti.engine.impl.persistence.entity.DeploymentManager.insertDeployment(DeploymentManager.java:44)
      at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:61)
      at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:33)
      at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
      at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:60)
      at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:32)
      at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:68)
      at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:119)
      at org.activiti.designer.test.ProcessTestSequenceFlowWithCondition.startProcess(ProcessTestSequenceFlowWithCondition.java:27)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

        Activity

        Hide
        Henry Yan added a comment -

        move conditionExpression to last is ok.

        Show
        Henry Yan added a comment - move conditionExpression to last is ok.
        Hide
        Tijs Rademakers added a comment -

        Fixed in 5.11.1 release

        Show
        Tijs Rademakers added a comment - Fixed in 5.11.1 release

          People

          • Assignee:
            Tijs Rademakers
            Reporter:
            Henry Yan
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: