#009306: fetch content class_attribute makes a fatal error


Environment:

Operating System: GNU/Debian
PHP Version: (please be specific, like '4.4.3' or '5.1.5') 4.4.2
Database and version: MySQL 4.1


Steps to Reproduce:

{let attribute_sel=fetch('content', 'class_attribute', hash('attribute_id', 268))}
{$attribute_sel|attribute(show, 2)}
{/let}
produce :
Fatal error: Call to a member function on a non-object in /home/damien/public_html/ipev/kernel/classes/ezcontentobjectattribute.php on line 392
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.


- Attachments

No attachments for this issue.


- Comments

Tested in 3.8.7(stable 3.8, rev 17382)
I've got error like here:

Fatal error: Call to a member function on a non-object in /home/lenara/ezpublish/3.8/kernel/classes/ezcontentobjectattribute.php on line 394
Fatal error: eZ publish did not finish its request

#250151 by Lenara Anafieva on November 7th, 2006 [Permanent Link]

Duplicated with http://issues.ez.no/IssueView.php?Id=9265url

#250158 by Lenara Anafieva on November 8th, 2006 [Permanent Link]

- History
Properties
Type Bug
Priority Medium
Component Misc
Affects 3.8.4
Fix Version -
Reporter Damien Pobel
Responsible Lenara Anafieva
Status 0 Closed
Resolution Duplicate
Created October 31st, 2006
Updated November 8th, 2006
Resolved November 8th, 2006
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #019127
  DB Deadlocks on ezcontentobject_tree when updating subnode