Activiti
  1. Activiti
  2. ACT-1099

Parsing results in exception when using text annotation connected with association

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.9
    • Fix Version/s: 5.9
    • Component/s: Engine
    • Labels:
      None
    • Number of attachments :
      1

      Description

      possible regression when introduced compensation events.

      AT:

      • automated test case (possible the one attached) can be parsed by Activiti
      1. association.bpmn20.xml
        3 kB
        Bernd Ruecker (camunda)

        Issue Links

          Activity

          Hide
          Bernd Ruecker (camunda) added a comment -

          Hi Daniel.

          Can you maybe have a look on this? I think it a small fix in pasing but could cause some trouble in 5.9 if released.

          Thanks

          Show
          Bernd Ruecker (camunda) added a comment - Hi Daniel. Can you maybe have a look on this? I think it a small fix in pasing but could cause some trouble in 5.9 if released. Thanks
          Hide
          Bernd Ruecker (camunda) added a comment -

          Hmm, maybe even some deeper problem with text annotations? when removing the association:

          org.activiti.engine.ActivitiException: Invalid reference in 'bpmnElement' attribute, activity textAnnotation_120not found | Ebene 2.bpmn20.xml | line 114 | column 86

          at org.activiti.engine.impl.util.xml.Parse.throwActivitiExceptionForErrors(Parse.java:186)
          at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:203)
          at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:81)
          at org.activiti.engine.impl.persistence.deploy.DeploymentCache.deploy(DeploymentCache.java:38)
          at org.activiti.engine.impl.persistence.entity.DeploymentManager.insertDeployment(DeploymentManager.java:39)
          at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:58)
          at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:30)
          at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
          at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)
          at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
          at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:46)
          at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:106)
          at org.activiti.engine.impl.test.TestHelper.annotationDeploymentSetUp(TestHelper.java:96)
          at org.activiti.engine.test.ActivitiTestCase.setUp(ActivitiTestCase.java:90)

          Show
          Bernd Ruecker (camunda) added a comment - Hmm, maybe even some deeper problem with text annotations? when removing the association: org.activiti.engine.ActivitiException: Invalid reference in 'bpmnElement' attribute, activity textAnnotation_120not found | Ebene 2.bpmn20.xml | line 114 | column 86 at org.activiti.engine.impl.util.xml.Parse.throwActivitiExceptionForErrors(Parse.java:186) at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:203) at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:81) at org.activiti.engine.impl.persistence.deploy.DeploymentCache.deploy(DeploymentCache.java:38) at org.activiti.engine.impl.persistence.entity.DeploymentManager.insertDeployment(DeploymentManager.java:39) at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:58) at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:30) at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24) at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42) at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:46) at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:106) at org.activiti.engine.impl.test.TestHelper.annotationDeploymentSetUp(TestHelper.java:96) at org.activiti.engine.test.ActivitiTestCase.setUp(ActivitiTestCase.java:90)
          Hide
          Daniel Meyer (camunda) added a comment -

          This is a known issue with parsing the DI-information of text-annotations.

          Show
          Daniel Meyer (camunda) added a comment - This is a known issue with parsing the DI-information of text-annotations.
          Hide
          Daniel Meyer (camunda) added a comment -

          http://fisheye.codehaus.org/changelog/activiti/?cs=3206

          Resolved in the following way:

          We still validate the references form DI elements to process model elements. However, we do not fail if a referenced element is not currently supported by activiti.
          We still fail if the references are incorrect.

          Show
          Daniel Meyer (camunda) added a comment - http://fisheye.codehaus.org/changelog/activiti/?cs=3206 Resolved in the following way: We still validate the references form DI elements to process model elements. However, we do not fail if a referenced element is not currently supported by activiti. We still fail if the references are incorrect.

            People

            • Assignee:
              Daniel Meyer (camunda)
              Reporter:
              Bernd Ruecker (camunda)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: