Object relations - Default location - ignored?

Author Message

Fabricio Guerrero

Friday 14 October 2005 3:25:22 am

Hi,

Currently I'm building a class that needs to relate to many other classes. This class has various attributes that need relating and to get the most out of this situation I'm testing with various ObjectRelation Attributes such as:

*Object relation
*Object relations
*Enhanced Object relation

The first and last work perfectly but it's the Object relations that's causing me some problems.

When you try to add and object with the Object Relations the browsing doesn't begin IN the Default location I indicated when creating the class.

Is this a bug? The idea is that when users try to relate and object start off in X folder and not have to start from site root(node id=2). Is this possible?

Thanks for your help.

Regards,
Fabricio

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

Björn Dieding@xrow.de

Friday 14 October 2005 3:41:07 am

This sounds like a bug.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Fabricio Guerrero

Friday 14 October 2005 3:49:30 am

BTW - I'm using 3.6.2 and the OE. this has anything to do with it?

Fabricio

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

Nathan Kelly

Friday 14 October 2005 5:59:27 am

HI, I've had the same problem but was unable to find a solution. Has anyone else experienced this, it sounds like a bug?

I don't like posting bugs unless I'm sure it is a bug, I think the eZsys crew have thier hands full as it is, so I don't like to post every little problem I have as a bug. However if others have had this problem it may be worth posting.

I'm on version 3.6.0.

Cheers!

Pardon me while I burst into flames...

Fabricio Guerrero

Friday 21 October 2005 8:14:52 am

Hi,

I never got around to try to solve this problem but i found an extension that works perfectly.. it respectes parent node when browsing for related item.

extension found at:
http://ez.no/community/contribs/datatypes/datatype_ezobjectrelationbrowse

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

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 22:34:15
Script start
Timing: Jan 18 2025 22:34:15
Module start 'layout'
Timing: Jan 18 2025 22:34:15
Module start 'content'
Timing: Jan 18 2025 22:34:16
Module end 'content'
Timing: Jan 18 2025 22:34:16
Script end

Main resources:

Total runtime0.8456 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 592.0078152.6406
Module start 'layout' 0.00560.0045 744.648439.4766
Module start 'content' 0.01010.8337 784.1250610.9922
Module end 'content' 0.84370.0018 1,395.117216.1250
Script end 0.8455  1,411.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.5183160.0003
Check MTime0.00140.1697160.0001
Mysql Total
Database connection0.00090.107610.0009
Mysqli_queries0.771191.1910650.0119
Looping result0.00070.0812630.0000
Template Total0.814796.420.4074
Template load0.00300.356720.0015
Template processing0.811795.993820.4058
Template load and register function0.00010.012410.0001
states
state_id_array0.00040.050010.0004
state_identifier_array0.00080.097520.0004
Override
Cache load0.00270.3178340.0001
Sytem overhead
Fetch class attribute can translate value0.00110.129330.0004
Fetch class attribute name0.00160.186780.0002
XML
Image XML parsing0.00160.194730.0005
class_abstraction
Instantiating content class attribute0.00000.0032100.0000
General
dbfile0.00090.1097280.0000
String conversion0.00000.000940.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/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: 23
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs