bug in enhancedobjectrelation

Author Message

Mazen Alsibai

Tuesday 09 August 2005 5:03:53 am

when i used enhancedobjectrelation i noticed the following:
after pressing create new and the fileds of the related class appear,the problem arises when yuo click refresh bottom sicne 3 or 4 copies of the fields of thar class are inserted beow the first one
so can you help me please???

Gabriel Ambuehl

Tuesday 09 August 2005 5:23:48 am

I'm not entirely sure why you click the refresh button in your browser, that's generally a rather bad idea while editing something.

However, there's been a very similar bug that was fixed a few days ago. So if in doubt, use the enhancedobjectrelation from pubsvn.

Visit http://triligon.org

Mazen Alsibai

Tuesday 09 August 2005 6:18:42 am

i see, but consider the following:
I'm using enhancedobjectrelation to a Resume class. I want to relate a resume object to other Skills objects; so that the user will be able to create new skill objects when he fills his resume.
Now, I tried to fill a resume and create new skill in it. at this stage, everything is ok.
after that, if I try to add a new resume, when i press the Create New Skill button, it shows me two skill objects to fill.
At the third resume, the Create New Skill, shows me 3 skill objects to fill.

What do you think about this problem? is it a normal behaviour?

Gabriel Ambuehl

Tuesday 09 August 2005 11:17:48 am

That exact bug got fixed in the pubsvn version (possibly Xavier already updated the contrib section, I don't know).

Behavior on reload, however, is undefined from what I know. So don't hit reload ;)

I'll look into reload some time this week.

Visit http://triligon.org

Mazen Alsibai

Tuesday 09 August 2005 12:57:38 pm

i see,now i am in such a need for this fixed version,so where
can i get it?
can you send it to me?

Gabriel Ambuehl

Tuesday 09 August 2005 2:58:43 pm

Try this http://pubsvn.ez.no/community/trunk/extension/enhancedobjectrelation/enhancedobjectrelation-pubsvn.tar.gz

It might or might not work, if not, I suggest you read up on using SVN ;)

Visit http://triligon.org

Mazen Alsibai

Wednesday 10 August 2005 1:40:47 am

thank you very much,it sounds good,the bug is fixed,except for the reload behaiviour which is not a big problem .

Mazen Alsibai

Wednesday 10 August 2005 2:20:09 am

oh,another problem,my class consists of other one, i want to display the fields of each one on a separate page to be filled by the user,not on one page,so how can i divide the attributes of my class so that each group of fields appear on a different page
many thanks

Gabriel Ambuehl

Wednesday 10 August 2005 4:02:07 am

I doubt you can do that so easily. There's recently been a thread about it but I don't think it's easy at all.

Visit http://triligon.org

Mazen Alsibai

Wednesday 10 August 2005 5:12:01 am

i am working on it using draft feature,it is imazing,it works when your class consists of just a lot of fields,but in my case ,the class conisists of some fields and 2 links to other objects,and that is why it is very difficult

Mazen Alsibai

Wednesday 10 August 2005 6:44:41 am

how to reach to the fields of the related class??

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.