Skip to content

Run prepareData when the node definition changes#1284

Merged
boliviacoca merged 1 commit intodevelopfrom
bugfix/FOUR-2396
Dec 4, 2020
Merged

Run prepareData when the node definition changes#1284
boliviacoca merged 1 commit intodevelopfrom
bugfix/FOUR-2396

Conversation

@nolanpro
Copy link
Copy Markdown
Contributor

@nolanpro nolanpro commented Dec 4, 2020

Fixes https://processmaker.atlassian.net/browse/FOUR-2396

There are some inspectors like Task Assignments and Comments where we directly set the property on the node without going though the inspectorHandler. This caused those properties get reset when another property gets set using the inspectorHandler. This fix listens for changes on the node definition and makes sure they are set on the data object

@boliviacoca boliviacoca merged commit 50a1f8e into develop Dec 4, 2020
vehikl-jacare added a commit that referenced this pull request Dec 9, 2020
PR #1284 introduces this code

Co-Authored-By: Justin Struk <10167488+JStruk@users.noreply.github.com>
Co-Authored-By: Robert Komaromi <chipit24@users.noreply.github.com>
Co-Authored-By: Gerrie Swart <johnblackspear@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants