Bug 109381

Summary: DomainObjectXMLRenderer bug on 5.2.1
Product: [Retired] Red Hat Web Application Framework Reporter: Jun <goldfish>
Component: dev environmentAssignee: ccm-bugs-list
Status: CLOSED EOL QA Contact: Jon Orris <jorris>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 16:51:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jun 2003-11-07 11:50:01 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131

Description of problem:
I think 5.2.1 introduced this bug.  5.2.0 works ok.  I think its
related to this.
 
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=101150

The DomainObjectXMLRenderer still works, but having <associations
rule="include"> on my adapters breaks things down.  Basically after
the DomainObjectFactor.newInstance and
ReflectionInstantiator.doNewInstance goes through several recursion. 
I will end up with null.  Giving me this error:

com.arsdigita.domain.InstantiatorNotFoundException: No instantiator
found for dataObject GenericDataObject:
  + OID = [com.arsdigita.kernel.PersonName:{id=60114}]
  + Properties: 
    - middleNames
    - givenName
    - id
    - familyName
 
       at
 com.arsdigita.domain.DomainObjectFactory.newInstance(DomainObjectFactory.java:118)
       at
 com.arsdigita.domain.DomainObjectTraversal.walk(DomainObjectTraversal.java:215)
       at
 com.arsdigita.domain.DomainObjectTraversal.walk(DomainObjectTraversal.java:168)

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.from 5.2.0 upgrade to 5.2.1
2.make use of <associations rule="include"> tag
3.visit the page that makes of DomainObjectXMLRenderer
    

Additional info: