Monday, March 28, 2011

RequestFactory Chained Persistence

I have a Patronyme Entity with a chained Entity ( Patronyme root; )
    the server side is working ( I've got a PatronymeDTO with RPC working )
    I can get a PatronymeProxy with findPatronyme on the client side
 
    but the getRoot raises an exception
 
    ======================================
: (TypeError): f is undefined stack: Uqb([object Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1646 Xqb([object Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1741 vP([object Object],[object Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1197 DQ([object Object],"{\"O\":[{\"O\":\"UPDATE\",\"P\":{\"rootId\":\"66\",\"name\":\"duchatton\",\"id\":\"151\",\"version\":0},\"S\":\"IjE1MSI=\",\"T\":\"fr.metronome.web.client.proxies.PatronymeProxy\",\"V\":\"MA==\"}],\"I\":[{\"S\":\"IjE1MSI=\",\"T\":\"fr.metronome.web.client.proxies.PatronymeProxy\"}],\"S\":[true]}")@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1716 kO([object Object],[object Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1735 uz([object Object],[object Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1546 iA([object XMLHttpRequest])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1735 ([object Event])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1286 Vp((function () {b.Ab(c);}),[object XMLHttpRequest],[object Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1370 ([object Event])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1369 fileName: http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html lineNumber: 1646
======================================
 
    I must be missing something
        it seems that there is no data for root
 
    I tried to implement it differently ( from expends example )
        in the entity
            public Patronyme getRoot () { return Patronyme.FindPatronyme( root_id ); }
        it raises a different exception
 
What's wrong ?
Please ?
 
Patrick
 
 

No comments:

Post a Comment