no plausibility check for rule sets

Bug #1021304 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
High
Unassigned

Bug Description

− The rule sets dialog allows arbitrary input. It is not tested whether the file named exists.

− Rule sets can be deleted without a check whether they are associated with processes. Doing so in error results in processes that cannot be edited any more; the application is blocked and you have to reload the start link manually.

Related branches

summary: - no plausibility check when deleting rule sets
+ no plausibility check for rule sets
description: updated
Revision history for this message
Ralf Claussnitzer (ralf-claussnitzer-deactivatedaccount) wrote :

Result of opening a process where the rule set registration has been deleted:

No row with the given identifier exists: [de.sub.goobi.beans.Regelsatz#9]

org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [de.sub.goobi.beans.Regelsatz#9]
 at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:419)
 at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:154)
 at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:143)
 at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:174)
 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
 at de.sub.goobi.beans.Regelsatz_$$_javassist_0.getPreferences(Regelsatz_$$_javassist_0.java)
 at de.sub.goobi.metadaten.Metadaten.XMLlesenStart(Metadaten.java:583)
 at de.sub.goobi.metadaten.Metadaten.XMLlesen(Metadaten.java:540)

There are no checks on delete, if the rule set registration is still used.

Changed in goobi-production:
status: New → Triaged
importance: Undecided → High
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.