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
KOGITO-1183: BPMN Editor - Imports not working. #3241
Conversation
Jenkins execute full downstream build |
2 similar comments
Jenkins execute full downstream build |
Jenkins execute full downstream build |
This PR is ready for testing. I should be quite easy from the UI to test, I already did again to ensure it works:
That will ensure the marshalling support that was missing for imports is now present. Please also remeber BC should be also retested. PS: Also remember to first click on the canvas, before doing any action, to prevent this bug, which is already PR'ed.. sorry for the inconveniences Thanks!! |
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.
Hello @romartin ,
I've found two issues. They are not caused by this PR, however because of the second issue, it is not possible to check the behaviour of Imports for all cases.
-
When you delete empty Data Type Imports that follows custom one, wrong element is deleted.
-
It is not possible to save the changes in Properties panel at all.
Can you please update headers from 2019 to 2020 too?
Thanks!
Reported issue: https://issues.redhat.com/browse/KOGITO-1621 |
Hey @LuboTerifaj I'd been rebasing this PR, I think that's the reason why you was not able to save any change in the process. I've also tested it on top of latest master upstream and upload some example video, which shows how properties are updated and saved properly, see this comment. Also, I was not able to reproduce the issue you mention about the dropdown list and the remove button - what you mean by an "empty" data data type? Can you please give me some steps to reproduce? Anyway, if that's still reproducible, maybe we can report this issue and let this PR go, which at least makes the imports properly to work again. WDYT? Thanks! |
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 @romartin Looks good to me :-)
Hey @LuboTerifaj this is ready to test again please BTW the sonarcloud duplication checks are ok, we've duplication code on the marshallers, so nothing to do there for now. thanks! |
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.
Hello @romartin
My findings:
-
In case management editor, add Imports , do not make any other changes. There is a message shown that there are no any changes to save.
-
If you add already existing Class Name in to Data Type Imports, it is not possible to add, update, delete or even see any class. When you close and open Imports back, all previously added class names are shown.
- It shouldn't be possible to add the same class more than once.
- The issue applies for both buisness-central and VSCode.
- The issue is present also on master. We can report it as separate jira.
-
After opening and closing Imports (by clicking on OK) without any changes the process is in unsaved state in VSCode.
-
Headers have not been updated yet as commented in my previous comment.
Thanks!
Hey @LuboTerifaj Great catches!!! I was able to reproce all above 3 issues. I'm trying to fix the one about duplicated data types, which is "brreaking" the list component, I would suggest to report the other ones for some future work anyway. So will let you know something ASAP, thianks for the great testing being done here as well! |
Jenkins execute full downstream build |
Hey @LuboTerifaj I've updated this PR by rebasing it and also fixing the issue you mentioned in the comment above, which was about the widget getting broken when "duplicating" some of the imports (issue
So I think we can report any other issues, and if you agree, go ahead with this. WDYT? Thanks! |
@LuboTerifaj artifacts generated |
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.
Hello @romartin ,
-
The issue below was not fixed:
- In case management editor, add Imports , do not make any other changes. There is a message shown that there are no any changes to save.
-
Headers have not been updated yet.
- Can you please update them?
-
Reported issues that have been found during PR review:
I can report the first mentioned issue since Case Management editor is only technology preview. I will do that in case it won't be fixed when the PR is ready to merge.
Thanks!
Oh @LuboTerifaj I forgot to update the headers sorry, but this will imply to rebuild everything and tomorrow is last chance of having this merged, so I would prefer trying to merge this as it is. I've updated IntelliJ to update headers for next times, but I don't think that should block it. And yeah, I didn't fixed the CM, I just fixed the issue about duplicating imports, which has not trivial, so I had no more time. So what's missing? Are you agree on approving/merging? Thx! |
Jenkins execute full downstream build |
@LuboTerifaj rebased and fixed headers!! thanks! |
SonarCloud Quality Gate failed. 0 Bugs |
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.
thanks @LuboTerifaj ! |
Hey @inodeman @domhanak @LuboTerifaj
Here is the fix for BOTH: KOGITO-1183 and JBPM-9076
Thanks!