Multiple object locations under the same parent

Author Message

Piotrek Karaś

Tuesday 11 March 2008 10:00:48 pm

What consequences do you expect from allowing an object to have multiple locations under the same parent node? I've just played with locations a bit and bypassed some restrictions and it seems to work (nodes have the same name, but different URLs):

# Parent node (ID:1, object ID:1, URL: parent_node)
## Node (ID:2, object ID:2, URL: parent_node/node)
## Node (ID:3, object ID:2, URL: parent_node/node2)
## Node (ID:4, object ID:2, URL: parent_node/node3)
...
Should I expect any tree disaster? ;)
BTW. I'm not planning to use this in a production env ;)

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Piotrek Karaś

Monday 14 April 2008 10:05:04 am

No volunteers for abstract problems? ;)

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Kristof Coomans

Tuesday 15 April 2008 12:13:16 am

Hi Piotrek

With which reason would you want to do this? :)

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 19:37:08
Script start
Timing: Jan 18 2025 19:37:08
Module start 'layout'
Timing: Jan 18 2025 19:37:08
Module start 'content'
Timing: Jan 18 2025 19:37:08
Module end 'content'
Timing: Jan 18 2025 19:37:08
Script end

Main resources:

Total runtime0.0325 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0164 589.1797152.6406
Module start 'layout' 0.01640.0051 741.820339.4766
Module start 'content' 0.02150.0088 781.296993.3672
Module end 'content' 0.03030.0022 874.664134.3047
Script end 0.0325  908.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00278.2363140.0002
Check MTime0.00113.5326140.0001
Mysql Total
Database connection0.00237.131810.0023
Mysqli_queries0.010131.077730.0034
Looping result0.00000.089410.0000
Template Total0.00175.310.0017
Template load0.00103.098010.0010
Template processing0.00072.198010.0007
Override
Cache load0.00072.222110.0007
General
dbfile0.00030.938180.0000
String conversion0.00000.036640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs