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.

eZ debug

Timing: Jan 19 2025 04:15:03
Script start
Timing: Jan 19 2025 04:15:03
Module start 'layout'
Timing: Jan 19 2025 04:15:03
Module start 'content'
Timing: Jan 19 2025 04:15:04
Module end 'content'
Timing: Jan 19 2025 04:15:04
Script end

Main resources:

Total runtime0.7305 sec
Peak memory usage4,096.0000 KB
Database Queries81

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 590.2891152.6250
Module start 'layout' 0.00620.0032 742.914139.4453
Module start 'content' 0.00940.7199 782.3594579.0469
Module end 'content' 0.72920.0012 1,361.406320.1641
Script end 0.7304  1,381.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4359160.0002
Check MTime0.00140.1858160.0001
Mysql Total
Database connection0.00090.118310.0009
Mysqli_queries0.677192.6980810.0084
Looping result0.00060.0755790.0000
Template Total0.696495.320.3482
Template load0.00230.314620.0011
Template processing0.694195.016020.3470
Template load and register function0.00020.021510.0002
states
state_id_array0.00210.291610.0021
state_identifier_array0.00110.156620.0006
Override
Cache load0.00180.2473380.0000
Sytem overhead
Fetch class attribute can translate value0.00050.070220.0003
Fetch class attribute name0.00090.1210110.0001
XML
Image XML parsing0.00020.030020.0001
class_abstraction
Instantiating content class attribute0.00000.0022110.0000
General
dbfile0.00060.0870100.0001
String conversion0.00000.005140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
11content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs