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

OOo export - wrong order of text when literals are inside list items

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Medium Medium
    • 3.9.2
    • 3.9.0
    • 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.9stable rev. 17807
      ezodf: 2.0stable rev. 729

    Description

      Something is wrong when a <literal> tag is inside a <li></li> pair.
      Live example: there are a lot of list items that contain shell commands on the doc site.
      See the attached screenshot.

      Steps to reproduce

      1. Create an article containing the following text in the article body:

      <ol>
        <li>Clear all caches:
      <literal>$ bin/shell/clearcache.sh --clear-all</literal></li>
        <li>Navigate into the eZ publish directory:
      <literal>$ cd /path/to/ez_publish</literal></li>
        <li>Create a dump of the database:
      <literal>$ mysqldump -u root --add-drop-table example > db_backup.sql</literal></li>
        <li>Go to the parent directory:
      <literal>$ cd ..</literal></li>
        <li>Create a tape archive of the files (including the DB dump) using the "tar" command:
      <literal>$ tar cfz backup_of_ez_publish.tar.gz ez_publish</literal>
      At this point, the file "backup_of_ez_publish.tar.gz" should contain a backup of everything (both files and DB).</li>
      </ol>
      

      2. 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: