-
Notifications
You must be signed in to change notification settings - Fork 219
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
JBPM-7217 Stunner - Boundary event morphing cause issues #1893
Conversation
Jenkins execute full downstream build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @tiagodolphine ,
The fix looks good for me! 👍
Anyway just a comment, I was looking at the morphing stuff and it looks that we can probably move that logic about checking the parent and dock relationships, for the candidate node, into the core/shared side, isn't it?
I mean this code you updated on this commit, is only client stuff, but parent and dock relationships are in the "shared" graph structure, so this code could be also present on the "shared" morph command, right? IMO This is kinda refactors that we never have time to do but finally will blow up at some point as a bug hehe... WDYT? Makes sense? Is it possible/feasible now?
Thanks!!
Hey @romartin well I think the issue and all the parent and docking stuff is only a problem on the client side, because if we think on the graph nothing changes, because we are only changing the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issues are still present. If you create boundary event on task in sub-process and change type of event using morphing, the event changes its position.
yeah @tiagodolphine good point, it's just pure client side stuff... it does not make sense what I said, sorry!! thanks! 👍 |
hey @LuboTerifaj strange, anyway I'll check that, maybe I let something missing. |
Jenkins execute full downstream build |
@LuboTerifaj fixed, that was a a wrong calling to the dock method that should be done after the connection handling. I changed this before the first commit, sorry for that. |
@LuboTerifaj fulldownstream is ready. |
Hi @tiagodolphine |
hey @LuboTerifaj @romartin I'll take a look on this. |
Jenkins execute full downstream build |
@LuboTerifaj I pushed the fix, let's wait the fulldownstream. Thanks. |
Jenkins retest this |
Jenkins execute full downstream build |
Jenkins retest this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @tiagodolphine
It works better now, but there is still a small issue. When morphing boundary event, a quick menu is displayed for a very short time on another place on canvas. Can you fix this?
Thank you!
Hi @tiagodolphine |
Hi @LuboTerifaj ok, thanks for the review, I'll check the issues you found. |
Jenkins execute full downstream build |
@LuboTerifaj is it ready to review. Tks. |
hey @LuboTerifaj if you have a chance to review this before the release it would be great. |
Hey @romartin I think @LuboTerifaj is on PTO, so if this is important to the release we should review and merge ASAP, anyone else to help on this? After merge it is necessary the cherry-pick to 7.7.x. |
Hey @tiagodolphine
When deleting the intermediate timer event docked to the task, and undoing, the event is no longer docked to the task, and so it appears on the wrong location, see: 2.- Minor thing - when deleting the intermediate event mentioned above, the contextual menu appears for a second in some canvas location.. same thing as @LuboTerifaj reported, but when deleting the event. So I don't know if these issues found are related to this change, as you're currently working on more commits about docking, what do you prefer? we can open a ticket and fix those later, or in any of your further commits, or waiting to fix and merge. Thx!! |
@tiagodolphine just realized the bugs above are about docking, not morphing, so if they're not easy to fix we can open a ticket and address it later. Up to you! Thanks |
@romartin ok I'll take a look to see if it is be feasible to fix. Thanks. |
hey @romartin I investigated and the issue is related to the |
JBPM-7217 fix error on docked node position inside subprocess after morph JBPM-7217 fix error on docked node morphing on subprocess JBPM-7217 fix toolbox animation during morphing
11cfa62
to
828bad5
Compare
Jenkins execute full downstream build |
1 similar comment
Jenkins execute full downstream build |
Jenkins retest this |
hey @tiagodolphine @LuboTerifaj what's the status for this? Thx! |
Jenkins execute full downstream build |
Hi @romartin |
@LuboTerifaj yeah it is faling to an unrelated issue |
Jenkins execute full downstream build |
1 similar comment
Jenkins execute full downstream build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @tiagodolphine
except last bug, that @romartin mentioned, it looks that it works great! :) I think it can be merged. Just one question, is that issue already reported or shall I report it?
Thank you, great job!
@LuboTerifaj I'm fixing this on the other PR #1952 |
@tiagodolphine |
- fix error on docked node position inside subprocess after morph - fix error on docked node morphing on subprocess - fix toolbox animation during morphing
- fix error on docked node position inside subprocess after morph - fix error on docked node morphing on subprocess - fix toolbox animation during morphing
Now it is possible to morph a docked Event on an activity inside a sub-process and change its locations, save and load, and undo/redo without any issues.
The problem was on the
MorphCanvasNodeCommand.java
that has not handling the dock/undock in case morphing a docked node.@romartin
@LuboTerifaj
@hasys