Forums / General / Object Relations / Comment32112

Author Topic

Xavier Dutoit

Wednesday 24 August 2005 1:30:10 pm

Comment32112

Hi Roberto,

To clarify :
1) the patch was supposed to let you get your reverse_related_contentobject_array properly filed
2) the fetch reverse_related_objects (+attribute parameter) was supposed to work without the patch.

You told us that the table is properly filed with the relations, right ?

I'm afraid we need to dig into the SQL to understand why it doesn't work.

in ezcontentobject_link, find the links created by eor for one object.

in your site.ini.append.php
add into [DatabaseSettings]
SQLOutput=enabled
and enable the general debug if it isn't already done.

clear the caches and reload the page.

You're going to have a few zillions sql queries.
One of them is the one to get the reverse related objects.
(search ezcontentobject_link) it should make sense.

It should tell you what's wrong...

Is this web site accessible from outside ? I can look at it if you prefer contact me (xavier AT sydesy DOT com).

Good luck.

X+

http://www.sydesy.com