Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2750

need delete the duplicated field 'state' in TaskImpl

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jBPM 4.4
    • jBPM 4.3
    • Runtime Engine
    • None

      How could we find out this bug?

      If you invoke repositoryService.suspendDeployment(deploymentDbid), you will find out that the state of relative tasks is still 'open'.

      Because there is a duplicated field 'state' in both TaskImpl and ScopeInstanceImpl. when we invoke 'taskImpl.suspend()' method, this method is defined in ScopeInstanceImpl.

      in this method, the 'state' of ScopeInstanceImpl field will be changed to 'suspend', but the 'state' of TaskImpl field still be 'open', so in the end, no matter how we invoke the suspend() method, the TaskImpl is still open, it won't be suspended.

      So I think we should delete the duplicated field 'state' of TaskImpl.

            rebody HuiSheng Xu (Inactive)
            xuhuisheng_jira Huisheng Xu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: