Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reimporting a previously exported process can end up in having two processes with different names but the same bpmn id #2533

Closed
constantin-ciobotaru opened this Issue Feb 20, 2019 · 0 comments

Comments

2 participants
@constantin-ciobotaru
Copy link
Collaborator

constantin-ciobotaru commented Feb 20, 2019

Steps to reproduce:

  1. create a project
  2. create a process model
  3. export the process model and save the xml
  4. rename the process model
  5. import a new process name using the previously saved xml
  6. export the project
  7. check inside the zip the xml files for both projects
    Expected behavior: the ids are different
    Actual behavior: they have the same id.

Possible solution: update the xml at import and ensure that the id from xml is the same with the generated id from database.

The fix this issue affects also the following issue: #2532

@constantin-ciobotaru constantin-ciobotaru self-assigned this Feb 20, 2019

constantin-ciobotaru added a commit to Activiti/activiti-cloud-org-service that referenced this issue Feb 20, 2019

@salaboy salaboy added this to Open in Activiti 7.x via automation Feb 20, 2019

@salaboy salaboy added this to the 7.1.0.M1 milestone Feb 20, 2019

mergify bot added a commit to Activiti/activiti-cloud-org-service that referenced this issue Feb 21, 2019

2532 2533 set the id in process extensions json file using the bpmn m…
…odel id from xml (#165)

* 2532 set the id in process extensions json file using the bpmn model id from xml

Activiti/Activiti#2532

* 2533 update the xml at import and ensure that the id from xml is the same with the generated id from database

Activiti/Activiti#2533

@salaboy salaboy closed this Feb 25, 2019

Activiti 7.x automation moved this from Open to Closed Feb 25, 2019

salaboy added a commit to Activiti/activiti-cloud-org-service that referenced this issue Feb 27, 2019

2532 2533 set the id in process extensions json file using the bpmn m…
…odel id from xml (#165)

* 2532 set the id in process extensions json file using the bpmn model id from xml

Activiti/Activiti#2532

* 2533 update the xml at import and ensure that the id from xml is the same with the generated id from database

Activiti/Activiti#2533
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.