Forums / Suggestions / Bug Report?

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