[Libreoffice-bugs] [Bug 131025] Writer document with tables lost data in cells (apparently) replacing with 0

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Feb 16 19:10:31 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=131025

--- Comment #36 from Jim DeLaHunt <from+documentfoundation at jdlh.com> ---
The circumstance when I ran into this problem involved:

1. A stub table of just a couple of rows in a LO Write document. The stub table
had the right number of columns. I set up the character and paragraph
formatting I wanted for the cells in that table. I didn't define Table… Number
Format for the cells in that table, because the cells contained text not
numbers.

2. I defined Table Styles for the rows of the stub table.

3. A data table in a LO Calc document. This table had the same number of
columns, and many rows, and no formatting. 

4. In LO Calc, I selected and copied the data table cells.

5. In LO Write, I selected the data rows of the stub table (not the heading
row), and pasted. LO Writer extended the table with as many rows as were in the
data table cells on the clipboard. LO Writer applied the Table Styles to the
rows of the table.  

6. After the paste, all the rows of the table in LO Write had the expected,
text values. 

7. I saved and closed the LO Write document. LO Write gave no indication that
it was changing any values.

8. I opened the LO Write document. Now, several text value cells had changed to
0 values.

So the important thing about this scenario is that the cell contents are
inserted by a Paste operation, not by user text entry; and the cell's Number
Formats are being applied as part of Table Styles, not by individual user
action.

I would like a fix for this bug to also cover the Paste and Table Styles
scenario.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210216/da8c16c7/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list