#014188: [Document] ezcDocumentEzXml::getAsDocbook() returns an ezcDocumentEzXml rather than ezcDocumentDocbook

Description:

When converting eZ XML to docbook, the method ezcDocumentEzXml::getAsDocbook() returns an ezcDocumentEzXml rather than ezcDocumentDocbook, which results in an error when trying to use the result elsewhere.

Catchable fatal error: Argument 1 passed to ezcDocumentRst::createFromDocbook() must be an instance of ezcDocumentDocbook, instance of ezcDocumentEzXml given, called in /var/www/test/rstexport.php on line 48 and defined in /usr/share/php/ezc/Document/document/rst.php


Environment:

Operating System: Ubuntu Linux
PHP Version: (please be specific, like '4.4.3' or '5.1.5') 5.2.6
Database and version:
Browser (and version):


- Attachments

No attachments for this issue.


- Comments

Fixed in revision #9654.

#259611 by Kore Nordmann on December 21st, 2008 [Permanent Link]

- History
Properties
Type Bug
Priority Medium
Component Components » Document
Affects 1.0.1 - Document 1.0.1
Fix Version -
Reporter Michael Maclean
Responsible Kore Nordmann
Status 0 Closed
Resolution Fixed
Created December 21st, 2008
Updated December 21st, 2008
Resolved December 21st, 2008
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #015537
  Graph shows to small and truncated rotated axis labels