Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-9899

OOo export - a kind of mess when images are inside list items

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.0alpha1
    • 3.8.6
    • None
    • Operating System: Mandriva Linux
      PHP Version: 4.4.1
      Database and version: MySQL 4.1.14
      Browser (and version): Firefox 1.0.6
      eZP: 3.8stable rev. 17821
      ezodf: 2.0stable rev. 729

    Description

      The expoted data is kinda messed up when <object> tags are inside <li></li> pairs.

      Live example: http://ez.no/doc/extensions/online_editor/4_x/usage/the_toolbar/the_object_button

      See attached screenshot.

      Steps to reproduce

      1. Create three image objects with ids for example 67, 68 and 69.
      2. Create an article containing the following text in the article body:

      <ol>
        <li>text1</li>
        <li>text2</li>
        <li>text3<object id="67" align="center" />text4<object id="68" align="center" />text5</li>
        <li>text6<object id="69" align="center" /></li>
      </ol>
      

      3. Select "Export OpenOffice.org" using the context menu and open the generated OOo file. You'll see wrong order of text and literal text inside the list items.

      Attachments

        Activity

          People

            dl dl
            sveta sveta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: