Details
-
Type:
Bug Fix
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Development
-
Security Level: Public (Public: Anyone can view)
-
Labels:None
-
Rice Module:KRAD
-
KAI Review Status:Not Required
-
KTI Review Status:Not Required
-
Include in Release Notes?:Yes
Description
When recursing the path to find relationships if the parent type is an interface or abstract class the do service throws exception:
java.lang.RuntimeException: Error occured while trying to create a new instance for class interface org.kuali.rice.krad.bo.PersistableBusinessObjectExtension
at org.kuali.rice.krad.util.ObjectUtils.createNewObjectFromClass(ObjectUtils.java:1167)
at org.kuali.rice.krad.service.impl.DataObjectMetaDataServiceImpl.getDataObjectRelationship(DataObjectMetaDataServiceImpl.java:181)
at org.kuali.rice.krad.service.impl.DataObjectMetaDataServiceImpl.getDataObjectRelationship(DataObjectMetaDataServiceImpl.java:156)
In these cases we need to ignore the exception and return a null relationship (not found)
Attachments
Issue Links
- cloned from
-
KULRICE-7208 Template
-
- Closed
-
Same thing happening in Inquiry#performFinalize
java.lang.RuntimeException: Error getting property 'dataObject.extension.accountType.codeAndDescription' from org.kuali.rice.krad.web.form.InquiryForm@58baf2ad
at org.kuali.rice.krad.uif.util.ObjectPropertyUtils.getPropertyValue(ObjectPropertyUtils.java:61)
at org.kuali.rice.krad.uif.widget.Inquiry.performFinalize(Inquiry.java:115)