<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - [Ubuntu, Writer] Chaging page numbering to "1st, 2nd, 3rd,..." causes crashes when trying to change Page settings later"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125104">125104</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Ubuntu, Writer] Chaging page numbering to "1st, 2nd, 3rd,..." causes crashes when trying to change Page settings later
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.2.3.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>boksy5@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
My computer: Ubuntu 18.04.2 LTS, 64-bit.
This bug happened when I tried to experiment with the page numbering. I opened
the Format>Page settings, and changed page numbering from "1, 2, 3,..." to
"1st, 2nd, 3rd,...". After changing the page numbering, whenever I would try to
open Format>Page or right click>Page..., LibreOffice would crash. In other
words, the page settings become inaccessible.

Steps to Reproduce:
1. Format > Page
2. Set page numbers to "1st, 2nd, 3rd..."
3. Click "OK"
4. From now on, whenever you try to change the Page settings (Format>Page)
LibreOffice crashes

Actual Results:
The software crashes whenever you try to change the Page settings.

Expected Results:
The software should not crash.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Workaround: Rename the document's filename extension from ".odt" to ".zip".
Open "styles.xml" and find an instance of: style:num-format="1st"
Change this to: style:num-format="1"
Update the .zip file with this new change and rename it back to .odt.
It should work without crashing now.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>