Re: Reacor linked object problem (was Re: MG:U Newbie - Help Needed)

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Reacor linked object problem (was Re: MG:U Newbie - Help Needed)

by Nathan Mische :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I ran into this issue as well. From what I can tell this seems to be an issue with Reactor's core iterator. I've submitted a Reactor ticket with a possible patch to the Reactor framework site: http://trac.reactorframework.com/reactor/ticket/125

--Nathan



On 1/31/07, Bryan S <bryansgroups@...> wrote:
Yup! That's the same error I'm getting. It isn't using your alias. Now I know I'm not the only one with the problem.


Bryan


On 1/31/07, Sal Valverde <salomon84@...> wrote:

<object name="user">
            <hasOne name="userGroup" alias="userGroupRelation">
                <relate from="userGroup" to="id"/>
            </hasOne>
            <hasMany name="permission">
                <link name="UserPermission" />
            </hasMany>
        </object>
               
        <object name="UserPermission">
            <hasOne name="user" alias="userRelation">
                <relate from="userid" to="id"/>
            </hasOne>
            <hasOne name="permission" alias="permissionRelation">
                <relate from="permissionid" to="id"/>
            </hasOne>
        </object>
       
        <object name="permission" />

And when I create a scaffold in MG:U, and try to update permissions to a particular user, I get the following error:

Oops!

Message The method 'setpermission' could not be found in component App.model.data.Record.UserPermissionRecordmysql.
Detail Check to ensure that the method is defined, and that it is spelled correctly.


Bryan S wrote:
Sal

I don't know. What error message are you getting?

Bryan

On 1/31/07, Sal Valverde <salomon84@...> wrote:
The only difference I  see in the example provided is my permission object definition doesn't have the hasMany relation back to my user object...

think this would have any significance??

TIA
sal