Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
None
-
None
-
None
-
Operating System: CentOS 5.4
PHP Version: 5.2.12
Database and version: MySQL 5.0.22
Browser (and version): FF3.6
Description
When using ezxmlexport extension to export content-objects, content from a folder's <description> block doesn't include an image using an eZ <embed/> element when it's wrapped with an eZ <link> element.
The <link> element is successfully converted to an <a> element, but any ezoe link meta data/attributes are lost (separate issue - sorry) and an image represented with an eZ <embed/> element is removed.
I have tried to debug this and got as far as looking at the eZ kernel eZXMLSchema class and others to see if because this <embed> element is self-closing (like <br/> and <hr/> etc), it is being removed by the use of eZXMLInputParser because it has no closing tag?
Steps to reproduce
- Create an export for content that includes folders with some body-text with at least one image
- The image should be included in the text using ezoe using the 'embed' view and an 'object' relation
- The image should be linked using ezoe 'eznode' (Href) 'default' (view) New Window 'Target'
- Run the export via runcronjobs.php
- View the raw XML before any transformation - note the missing image in the exported XML for this folder