Bug Report?

Author Message

Ryan Barber

Wednesday 04 June 2003 10:55:40 am

I'm not sure if this is the best place for a bug report?

I found if you create an <object> reference in an xml field, then remove the object, the site seems to crash.

In the method eZXHTMLXMLOutput::renderXHTMLTag. around the line 245, '$object' is being used as an class reference, but its not defined.

$classID = $object->attribute( 'contentclass_id' );

I added:

if (!$classID) {
break;
}

before the offending line, it seemed to fix it...

I hope this is enuf info.

-Ryan

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

Main resources:

Total runtime0.5150 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.0068 588.9219152.6094
Module start 'layout' 0.00680.0037 741.531339.3984
Module start 'content' 0.01040.5028 780.9297399.9297
Module end 'content' 0.51320.0018 1,180.85948.2031
Script end 0.5149  1,189.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.6803160.0002
Check MTime0.00130.2610160.0001
Mysql Total
Database connection0.00110.209410.0011
Mysqli_queries0.474992.2095460.0103
Looping result0.00040.0834440.0000
Template Total0.478692.920.2393
Template load0.00210.405820.0010
Template processing0.476592.524020.2382
Template load and register function0.00020.046010.0002
states
state_id_array0.00090.180410.0009
state_identifier_array0.00070.144920.0004
Override
Cache load0.00170.3263140.0001
Sytem overhead
Fetch class attribute can translate value0.00090.169910.0009
Fetch class attribute name0.00060.119810.0006
XML
Image XML parsing0.00010.020410.0001
class_abstraction
Instantiating content class attribute0.00000.001010.0000
General
dbfile0.00060.1181100.0001
String conversion0.00000.001840.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
2content/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: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0005 secs