-
Notifications
You must be signed in to change notification settings - Fork 68
Fix error with empty workflow svg and error when saving empty workflow #6408
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
base: main
Are you sure you want to change the base?
Conversation
b136949 to
f8dd94e
Compare
d587ff6 to
a9162be
Compare
a9162be to
cbdf11e
Compare
|
@BartChris Are you planning to continue working on this? I am working on refactoring all @SessionScoped form classes, which includes the WorkflowForm, see #6456. |
|
@thomaslow no, please go ahead, i left it open for quite long and do not want to to interfere with your work. I will close. |
|
@BartChris Alright. I'll try to include some of your improvements in my refactoring if there is time. I also came across this problematic "duplicate" action again (while changing @SessionScoped to @ViewScoped) and came up with another approach instead of this flash context thingy. I simply added a new view parameter "duplicate=true" in case an object should be duplicated. Do you think this is an appropriate solution or do you see any downsides to that? An example is here: kitodo-production/Kitodo/src/main/java/org/kitodo/production/forms/LdapGroupEditView.java Lines 86 to 122 in f12ff8e
|
|
Sounds good i would say on first take, especially if it simplifies the logic on form setup. I think this check for the flash context is a little bit cumbersome. |
|
I will maybe keep it as draft, so this does not get lost, but let you do your work uninterrupted. |
Fixes #6290
Adresses #6355 (comment)
Additional changes