This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » Object class

Object class

Object class

Tuesday 14 October 2014 1:48:10 pm - 4 replies


Any one have any idea about ,

"Object class"  in object relations attribute in a class with ezpublish admin interface.can we edit this field?

How to set object class to none in a object relations attribute?

Modified on Tuesday 14 October 2014 1:59:07 pm by upeksha ranawaka

Wednesday 15 October 2014 5:14:29 am

Hello upeksha,

Sadly again there is no admin interface to do what your asking.

More specifically it just sounds what your asking to do is a silly thing to even try to do at all since the system does not work this way at all since the system is much more complex than just a class assignment (your forgetting object's are based on classes and so are their attributes).

In the ends it's not going to help you solve your problem either way.

Edit: I replied to your author contact email. I hope you got my email. 


Wednesday 15 October 2014 5:27:43 am


Thank you for the quick reply.I think the way I am asking the question may be not understandable.If then please ignore.

I am talking about ez publish administration.



Here in setup tab we can edit the the classes we have created no? I am referring to i have a class called country.and there have an object relations attribute called plans. There there is a field in plans attribute  called Object class.

I want to set up object class to none.


Wednesday 15 October 2014 7:33:48 am

Hello upeksha,

Keep trying to ask your questions using the best english you can! I don't mind answering duplicate questions too much happy.gif Emoticon

Just don't give up happy.gif Emoticon

But the link you share does not even cover the subject your talking about nor the setup / classes view.

I reviewed the area of the admin your talking about and the answer again is no.

In the class editor admin ui when editing a class with an object relations attribute has a select menu area called 'Allowed classes' this has to be a selection in this area to limit what class of object can be used.

You can choose 'Any' select option to allow any object of any class but it can not be set to none.

This is because an object relation is based on objects which are based on classes. All objects must be based on a class, period, no exceptions.

Question: Why do you want to set it to none?

I hope this helps!

Modified on Wednesday 15 October 2014 7:34:13 am by // Heath

Wednesday 15 October 2014 8:28:34 am

Thank you very much.I know it is strange happy.gif Emoticon.It is not the normal behaviour.

Question: Why do you want to set it to none?

Answer:  It is related to this question i have asked.

The reason I want to remove is , in class->plans object relations list  it appeared as 

Object class - > Copy of Country.

And that is not needed for the class.

Modified on Wednesday 15 October 2014 8:32:42 am by upeksha ranawaka


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from