Bad relations created
You need to be logged in to post messages in the forums. New users may register here.
|
David Wirth
Member since: 19 November 2009
Posts: 2
|
Wednesday 04 August 2010 6:00:41 am
I was having a problem with relations involving object relation browse objects occasionally showing more related objects than they should -- for some items there was a duplicate relation listed in the admin view but instead of the "Relation type" indicating "Attribute(Awardee)" as it should, it instead said "Attribute()." I assume that is why the fetch is returning duplicate objects. When I looked at the ezcontentobject_link table I saw that for these items there was one row with the proper values and a second that had identical values in the contentclassattribute_id and from_contentobject_id columns. I have not yet found any documentation to indicate whether or not that is intentional behavior, although I am almost certain it isn't. And then I came across this comment from Sébastien Morel at http://ez.no/developer/contribs/d...ypes/ezobjectrelationbrowse_datatype:
======
I found a bug at line 1240 of datatype/ezobjectrelationbrowsetype.php
|
|
|
David Wirth
Member since: 19 November 2009
Posts: 2
|
Wednesday 04 August 2010 6:55:16 am
Bah, never mind about that second issue -- the query construction problem is in the eZ kernel's ezcontentobject.php's relatedObjects() function. I have eZ Systems looking into that issue.
|
|
You need to be logged in to post messages in the forums. New users may register here.