Problems with class containing object relations

Author Message

Felix Laate

Wednesday 08 December 2004 2:06:23 am

Hi all!

I've created a class with two object relations. I'm experiencing two problems related to this:

1) Even if I have set the default node, the browsing always start at node=2
2) After publishing an object of this class, I get a "page cannot be found". The object IS published though. But (in the admin-interface) you would (e.g.) have to change the url in the browsers adress-field to get back in business..

It should be added that 2) only happens if (at least 1) related object is set. And that it (at least) happens in versions 3.4.4 and 3.5rc1.

Has anyone experienced similar things?

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Felix Laate

Monday 13 December 2004 1:51:45 am

Hi all!

Sorry for bugging you with this again, but I can't get it right.. Creating a class which has an browsable onject-relation still give me these problems..

Could it be a bug?

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Xavier Dutoit

Monday 13 December 2004 4:15:31 am

Hi,

I never experienced this problem, but I mostly use another objectrelation attribute to handle this.

http://www.ez.no/community/contributions/datatypes/enhanced_objectrelation

If you feel ready to modify the database structure a wee bit, give it a shoot.

http://www.sydesy.com

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 23:04:48
Script start
Timing: Jan 18 2025 23:04:48
Module start 'layout'
Timing: Jan 18 2025 23:04:48
Module start 'content'
Timing: Jan 18 2025 23:04:50
Module end 'content'
Timing: Jan 18 2025 23:04:50
Script end

Main resources:

Total runtime1.5590 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.0469152.6406
Module start 'layout' 0.00720.0042 740.687539.4922
Module start 'content' 0.01141.5461 780.1797536.8359
Module end 'content' 1.55750.0014 1,317.015612.1250
Script end 1.5589  1,329.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.2482160.0002
Check MTime0.00170.1060160.0001
Mysql Total
Database connection0.00090.058610.0009
Mysqli_queries1.486895.3719570.0261
Looping result0.00080.0489550.0000
Template Total1.515097.220.7575
Template load0.00220.143120.0011
Template processing1.512897.035320.7564
Template load and register function0.00010.007810.0001
states
state_id_array0.00110.069710.0011
state_identifier_array0.00280.178620.0014
Override
Cache load0.00180.1154230.0001
Sytem overhead
Fetch class attribute can translate value0.00110.069920.0005
Fetch class attribute name0.00130.083050.0003
XML
Image XML parsing0.00350.224820.0018
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00430.2782220.0002
String conversion0.00000.000540.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs