Description:
In the Admin Tool - OBS definitions can be created and units can be created and are not considered an instance of the Department or Location Object until the OBS definition is associated with an Entity definition. Therefore, when the OBS definition is used in the creation of an Entity, the application is attempting to convert the existing OBS Unit records into Department or Location records and because the Department or Location Object has a required attribute defined, the existing OBS unit does not have a value in the required attribute and the application generates the internal server error, preventing the Entity from being created.
Steps to Reproduce:
<Please see attached file for image>
<Please see attached file for image>
<Please see attached file for image>
<Please see attached file for image>
<Please see attached file for image>
<Please see attached file for image>
Expected Result: Entity should be created without error or a proper error message should be displayed
Actual Result: Internal Server Error prevents the Entity from being created
ERROR 2011-09-20 10:03:56,331 [http-1211-6] admin.PersistEntityService (admin:5300334__-52639F33_1327384293D_-7FEC:revmgr.saveEntity) processRequest Exception com.niku.union.odf.exception.ODFValidationException: Validation failure. Attribute: myrequiredlocattr. Cause: required
Solution:
WORKAROUND:
In the Admin Tool > Studio > Department or Location Object, change the attribute so that it is no longer required until after the OBS definition is linked
OR
In the Admin Tool > OBS, remove all the existing OBS Units for the OBS definition that will be used as the Department or Location OBS on a new Entity definition
STATUS/RESOLUTION:
This issue has been documented as CLRT-64479 and is assigned to development for review. If you are experiencing this problem and the workaround above
Keywords: CLARITYKB, CLRT-64479, clarity12open.