Why is eZDatatype::cloneClassAttribute never called

Author Message

Gabriel Ambuehl

Sunday 09 January 2005 5:42:39 am

I was trying to fix an issue with Xavier Dutoit's excellent enhancedobjectrelation datatype.

However, it can only really be fixed (aside of downright patching the kernel to recognize it's custom cell in ezcontentobject_link and perhaps very complex heuristics) if it can control its own cloning. Now there is eZDatatype::cloneClassAttribute but it's never being called. Is this a bug?

Visit http://triligon.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 19 2025 00:35:00
Script start
Timing: Jan 19 2025 00:35:00
Module start 'layout'
Timing: Jan 19 2025 00:35:00
Module start 'content'
Timing: Jan 19 2025 00:35:00
Module end 'content'
Timing: Jan 19 2025 00:35:00
Script end

Main resources:

Total runtime0.6598 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.0469152.6406
Module start 'layout' 0.00510.0030 740.687539.4922
Module start 'content' 0.00810.6501 780.1797426.8281
Module end 'content' 0.65820.0015 1,207.00788.1250
Script end 0.6597  1,215.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5221160.0002
Check MTime0.00140.2161160.0001
Mysql Total
Database connection0.00060.088110.0006
Mysqli_queries0.625594.8134460.0136
Looping result0.00040.0540440.0000
Template Total0.630795.620.3154
Template load0.00230.344220.0011
Template processing0.628495.250820.3142
Template load and register function0.00020.022810.0002
states
state_id_array0.00110.161610.0011
state_identifier_array0.00070.100320.0003
Override
Cache load0.00180.274150.0004
Sytem overhead
Fetch class attribute can translate value0.00090.136110.0009
Fetch class attribute name0.00040.059310.0004
XML
Image XML parsing0.00020.024710.0002
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00070.1106100.0001
String conversion0.00000.001040.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs