Error deleting System Update Stage

  • 7024335
  • 11-Dec-2019
  • 11-Jun-2020

Environment

ZENworks Configuration Management 2017 Update 4 FRU1

Situation

Deleting a stage with special characters generates an error.  

ERROR (from zcc.log):

Exception: 
[DEBUG] [07/12/2019 11:18:02.189] [1601] [ZENServer] [141] [zenworks] [ZCC] [] [com.novell.zenworks.datamodel.exceptions.DataModelUsageException: The name contains invalid chara
cters: A/B_e28fe14980d3308441bb52c7e7404c25
        at com.novell.zenworks.datamodel.session.hibernate.HibernateBasicSession.rename(HibernateBasicSession.java:1076)


In the case the stage has been deployed and one wants to cancel, the exception is a bit different

[DEBUG] [07/12/2019 10:48:54.157] [1601] [ZENServer] [143] [zenworks] [ZCC] [Exception cancelling stage] [com.novell.zenworks.datamodel.exceptions.DataModelUsageException: The UID is not valid: 50170401a0fc50000000002019053113/A/B
        at com.novell.zenworks.datamodel.database.AbstractDatabaseTypeHelper.throwStandardDataModelException(AbstractDatabaseTypeHelper.java:473)

Even after rename the stage , which is shown on ZCC as 'AB', deleting still get the same exception

[DEBUG] [07/12/2019 11:27:01.539] [1601] [ZENServer] [142] [zenworks] [ZCC] [] [com.novell.zenworks.datamodel.exceptions.DataModelUsageException: The name contains invalid chara
cters: A/B_e28fe14980d3308441bb52c7e7404c25
        at com.novell.zenworks.datamodel.session.hibernate.HibernateBasicSession.rename(HibernateBasicSession.java:1076)

Resolution

This issue has been fixed in ZENworks 2020 Update 1 - see KB 7024523 "ZENworks 2020 Update 1 - information and list of fixes" which can be found at

 https://support.microfocus.com/kb/doc.php?id=7024523