Object relations in EZP 3.9 or EOR?

Author Message

Andrey Astakhov

Saturday 30 December 2006 6:31:49 am

It seems that object relations datatype got a definitely new feature in eZ Publish 3.9. I mean different selection methods.

I use enhanced object relation datatype for it.
1. What would you recommend: to use native Object relations or to use EOR in further work?
2. Do you use enhanced object relation intensively?
3. Is it possible to smoothly convert eor to object relations?

Thank you in advance for any answers.

Gabriel Ambuehl

Saturday 30 December 2006 6:56:06 am

Let me say, as someone who has developped quite a bit of EOR, that the decision really isn't entirely easy.

Somewhere in the development leading to 3.8 EOR got partly broken (i.e. the kernel now behaves differently) and translation/copy of EOR objects doesn't really work anymore. I have looked into it, but couldn't figure out how to fix it (not sure it even CAN be fixed without patching the kernel).

OTOH, object relation list is totally buggy in 3.9 (to the point where I would call it unusable in my tests), see for example http://issues.ez.no/IssueView.php?Id=9864&ProjectId=3&Anchor=Comment251104 (that might be a more general issue though).

If/as/when ez will fix object relation list (and by that I mean that all features they supposedly ported from EOR are actually working), I'll likely look into writing a converter from EOR to object relation list.

Visit http://triligon.org

Andrey Astakhov

Saturday 30 December 2006 7:39:46 am

Thank you, Gabriel.
Now it is more or less clear for me.

IMHO, it would be very good to write such coverter as a plugin for Kristof Coomans's Datatypes extension.

Guillaume Kempfer

Wednesday 21 February 2007 3:37:18 am

Hi guys,

I have a site created with ezp 3.8.6 and it's not possible to translate objects with eor datatype. It's seems that it's not possible into ezp 3.9.0 too. I tested the new object relation datatype and it works same as eor. For me it's a problem because my site should be in english and since december i cannot translate correctly my object without any bug.

So my question, when will this bug be fix ?
Perhaps it is already fixed into trunk version, but i don"t know where to search.

Thanks

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 18 2025 11:05:55
Script start
Timing: Jan 18 2025 11:05:55
Module start 'layout'
Timing: Jan 18 2025 11:05:55
Module start 'content'
Timing: Jan 18 2025 11:05:56
Module end 'content'
Timing: Jan 18 2025 11:05:56
Script end

Main resources:

Total runtime0.7095 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0117 587.9141152.6250
Module start 'layout' 0.01170.0039 740.539139.4453
Module start 'content' 0.01560.6924 779.9844541.0781
Module end 'content' 0.70800.0014 1,321.062512.1563
Script end 0.7094  1,333.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.6147160.0003
Check MTime0.00220.3039160.0001
Mysql Total
Database connection0.00260.368610.0026
Mysqli_queries0.653692.1232620.0105
Looping result0.00090.1329600.0000
Template Total0.659292.920.3296
Template load0.00310.433420.0015
Template processing0.656192.474320.3280
Template load and register function0.00020.030010.0002
states
state_id_array0.00150.215010.0015
state_identifier_array0.00090.128420.0005
Override
Cache load0.00270.3753240.0001
Sytem overhead
Fetch class attribute can translate value0.00100.147530.0003
Fetch class attribute name0.00130.185140.0003
XML
Image XML parsing0.00040.050030.0001
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00060.0903100.0001
String conversion0.00000.001140.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs