<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 - Writer - Formula in cells in all but the first table in document corrupted by saving and reopening document."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138294">138294</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Writer - Formula in cells in all but the first table in document corrupted by saving and reopening document.
          </td>
        </tr>

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

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

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

        <tr>
          <th>OS</th>
          <td>Mac OS X (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>ps@chiltern.org.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=167377" name="attach_167377" title="Writer document with two tables with a forumla i them.">attachment 167377</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=167377&action=edit" title="Writer document with two tables with a forumla i them.">[details]</a></span>
Writer document with two tables with a forumla i them.

Steps to reproduce.

1) Create a writer document with a table include a forumla. (for instance the
one attached)

2) save and reopen and confirm the forumla still shows the correct result.

3) Duplicate the table so you have two tables, one above the other, both
containing a working formula.

4) Save and reopen - The formula in the first table will still be working find,
but the identical formula in the second table will have been currpted. Normally
displaying as '** Expression is faulty **', If you inspect the formula you will
see all the cell reference are brocken:

Working formula: '=  <A2>*<B2>*<C2>*<D2>'
Corrupted Formula: '=    L ? G * L ? G * L ? G * L ? G '</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>