Forums / General / Object relations in EZP 3.9 or EOR?

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

eZ debug

Timing: Jan 18 2025 05:16:44
Script start
Timing: Jan 18 2025 05:16:44
Module start 'content'
Timing: Jan 18 2025 05:16:45
Module end 'content'
Timing: Jan 18 2025 05:16:45
Script end

Main resources:

Total runtime0.8346 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.8281180.8359
Module start 'content' 0.00580.6344 769.6641546.1563
Module end 'content' 0.64030.1943 1,315.8203334.1016
Script end 0.8346  1,649.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.4880210.0002
Check MTime0.00160.1861210.0001
Mysql Total
Database connection0.00070.083410.0007
Mysqli_queries0.751089.98051990.0038
Looping result0.00240.28921970.0000
Template Total0.802496.120.4012
Template load0.00210.247920.0010
Template processing0.800395.889720.4002
Template load and register function0.00020.019310.0002
states
state_id_array0.00160.191110.0016
state_identifier_array0.00090.102020.0004
Override
Cache load0.00170.1984240.0001
Sytem overhead
Fetch class attribute can translate value0.00130.161040.0003
Fetch class attribute name0.00080.101840.0002
XML
Image XML parsing0.00060.074440.0002
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00820.9804210.0004
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs