reactor suddenly not recognising linked objects

2 views
Skip to first unread message

Tom Bishop

unread,
Nov 30, 2011, 11:04:41 AM11/30/11
to Reactor development
Hi,
I'm getting a very strange error. Reactor is suddenly not recognising
relationship definitions that I have defined in my reactor.xml file.
For example I have 3 related objects:
<object name="contentmenuitemlanguagetemplate">
<hasone name="contentmenuitem">
<relate from="contentmenuitemid"
to="contentmenuitemid" />
</hasone>
<hasone name="language">
<relate from="languageid"
to="languageid" />
</hasone>
</object>
<object name="contentmenuitem">
<hasOne name="content">
<relate from="contentId"
to="contentId" />
</hasOne>
<hasOne name="contentmenu">
<relate from="contentMenuId"
to="contentMenuId" />
</hasOne>
<hasOne name="contentmenuitemtype">
<relate from="contentMenuItemTypeId"
to="contentMenuItemTypeId" />
</hasOne>
<hasOne name="category">
<relate from="categoryId"
to="categoryId" />
</hasOne>
<hasOne name="vocabulary">
<relate from="vocabularyId"
to="vocabularyId" />
</hasOne>
<hasMany
name="contentmenuitemlanguagetemplate">
<relate from="contentmenuitemid"
to="contentmenuitemid" />
</hasMany>
</object>
<object name="language">
</object>
However it is not generating the getcontentmenuitem() method in the
contentmenuitemlanguagetemplate record object. I have tried using
aliases, changed the case of the object definitions in reactor.xml to
no avail.
Has anyone else experienced this problem?

Tom Chiverton

unread,
Jan 16, 2012, 9:04:26 AM1/16/12
to reacto...@googlegroups.com
Have you confirmed the relations are there in the DB ? What does the
CREATE statement look like ? Does the Reactor user have permissions to
the information schema ?

--
Tom

Reply all
Reply to author
Forward
0 new messages