Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

I got an error after opening the process definition edit screen #47

Closed
a616101 opened this issue Aug 25, 2021 · 1 comment
Closed

I got an error after opening the process definition edit screen #47

a616101 opened this issue Aug 25, 2021 · 1 comment
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@a616101
Copy link

a616101 commented Aug 25, 2021

I using dynamicBpmnService.injectUserTaskInProcessInstance method to update bpmModel, the ACT_RE_PROCDEF table will be like:
image

ID a76081c4-0543-11ec-8fc4-acde48001122 and aa283f26-0541-11ec-8fc4-acde48001122 is derived from process:1:92f07d8a-0541-11ec-8fc4-acde48001122

After update bpmModel, I got an error after opening the process definition edit screen
image

I find ProcessDefinitionEdit 85 line: use pdd -> pdd.getVersion().toString(),But a76081c4-0543-11ec-8fc4-acde48001122 and aa283f26-0541-11ec-8fc4-acde48001122 Version always equal 0.

Whether it can increase relevant judgments, Make it display normally

@gorbunkov gorbunkov added this to the 1.1.0 milestone Sep 27, 2021
@gorbunkov
Copy link

It seems that we should add properties related to "derived" to the ProcessDefinitionData and fill these properties while building the ProcessDefinitionData from the ProcessDefinition. When versions lookup is initialized in the ProcessDefinitionEdit we should filter process definitions and exclude the ones that are derived from other processes.

@gorbunkov gorbunkov assigned artemy63 and unassigned gorbunkov Sep 27, 2021
@gorbunkov gorbunkov added the type: bug Something isn't working label Sep 27, 2021
@artemy63 artemy63 closed this as completed Oct 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants