New process template allows adding jobs that cannot be saved
Bug #1021309 reported by
Matthias Ronge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Goobi.Production | Status tracked in 1.10 | |||||
1.10 |
New
|
Undecided
|
Unassigned | |||
1.8 |
Fix Released
|
Low
|
Henning Gerhardt |
Bug Description
When creating a new process template, the link to add a job is already available before the process template has basically been created. If you try to add a job and click “Save” a Java error occurs, because the process template doesn’t have a database ID yet.
Related branches
lp:~slub.team/goobi-production/bug-1021309
- Ralf Claussnitzer (community): Approve
- Matthias Ronge: Pending requested
-
Diff: 25 lines (+6/-2)1 file modifiednewpages/ProzessverwaltungBearbeiten.jsp (+6/-2)
Changed in goobi-production: | |
status: | Incomplete → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.
That's what happens when adding a task before saving the template:
java.lang. NullPointerExce ption goobi.forms. Prozessverwaltu ngForm. Speichern( Prozessverwaltu ngForm. java:150) goobi.forms. Prozessverwaltu ngForm. SchrittUeberneh men(Prozessverw altungForm. java:425) NativeMethodAcc essorImpl. invoke0( Native Method)
at de.sub.
at de.sub.
at sun.reflect.
...
Same thing happens when adding a property.
Is this what you mean by "adding a job"?