Environment
Novell ZENworks Configuration Management 11.4.1 Bundles
Novell ZENworks Configuration Management 11.4.2 Bundles
Novell ZENworks Configuration Management 11.4.2 Bundles
Situation
- Creating or editing a ZENworks bundle Sandbox version
- Selecting an existing bundle action and clicking Action > Duplicate
- Navigating out of the current bundle tab and back
- The duplicated bundle action may be gone
- The duplicated bundle action name may not be saved
- The original bundle action name may be renamed to the name of the duplicated action
ERROR:
[ZENServer] [174307] [zenworks] [ZCC] [] [com.novell.zenworks.datamodel.exceptions.InternalDataModelException: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [com.novell.zenworks.datamodel.objects.actions.Action#41b98d498510456e2056d4c0e50d2de5]
at com.novell.zenworks.datamodel.database.AbstractDatabaseTypeHelper.newStandardDataModelException(AbstractDatabaseTypeHelper.java:467)
...
Caused by: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [com.novell.zenworks.datamodel.objects.actions.Action#41b98d498510456e2056d4c0e50d2de5]
at org.hibernate.engine.internal.StatefulPersistenceContext.checkUniqueness(StatefulPersistenceContext.java:686)
Resolution
This is fixed in version 11.4.3 - see KB 7017820 "ZENworks Configuration Management 11.4.3 - update information and list of fixes" which can be found at https://support.microfocus.com/kb/doc.php?id=7017820
Workaround for older versions
Publish the bundle immediately after duplicating the bundle action
Workaround for older versions
Publish the bundle immediately after duplicating the bundle action