Forums / General / Object Relations / Comment32103

Author Topic

Roberto Kirschbaum

Tuesday 23 August 2005 5:49:54 pm

Comment32103

Hi Gabriel,

I did the following. Just in case my books and authors contentclasses were buggy, I created 2 contentclasses exactly as instructed: coutries and companies. The Companies class has an enhancedobjectrelation pointing to coutry_class objects. And exactly the same happens as described above with the authors/books classes, that is, the example code doesn't work, so when I try to see a country, I don't get to see the related companies.

I looked at the <b>ezcontentobject_link</b> table at the database and <i>it HAS</i> the correct records linking the countries and companies. So I guess some part of the system is forgetting to take a look at this table when it should!!!

On the admin interface, when I look at one coutry, it says:
Relations [0]
Related objects [0]
The item being viewed does not make use of any other objects.
Reverse related objects [0]
The item being viewed is not in use by any other objects.
Sub items [0]
The <Countries_class> class is not configured to contain any sub items.

Still at the admin interface, when I look at one company, it shows the countries it has plants at:
Nome da companhia:
Volks
Countries:
Argentina Brasil United States

However, again:
Relations [0]
Related objects [0]
The item being viewed does not make use of any other objects.
Reverse related objects [0]
The item being viewed is not in use by any other objects.
Sub items [0]

Any ideas??? Could this be a 3.6.1 bug??? Would you like to suggest other table inspections? Maybe look at some filesystem permissions? I'm open to any ideas and willing to help (I'd even provide access to my server)