New process template allows adding jobs that cannot be saved

Bug #1021309 reported by Matthias Ronge
6
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

Revision history for this message
Ralf Claussnitzer (ralf-claussnitzer-deactivatedaccount) wrote :

That's what happens when adding a task before saving the template:

java.lang.NullPointerException
 at de.sub.goobi.forms.ProzessverwaltungForm.Speichern(ProzessverwaltungForm.java:150)
 at de.sub.goobi.forms.ProzessverwaltungForm.SchrittUebernehmen(ProzessverwaltungForm.java:425)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...

Same thing happens when adding a property.

Is this what you mean by "adding a job"?

Changed in goobi-production:
status: New → Incomplete
Revision history for this message
Matthias Ronge (matthias-ronge) wrote :

by adding a job, I meant clicking the "Add task" function

Changed in goobi-production:
status: Incomplete → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.