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

            Bug ID: 100458
           Summary: Data loss on loading Calc document
           Product: LibreOffice
           Version: 4.0.3.3 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: critical
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: glo...@fbihome.de

Created attachment 125708
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125708&action=edit
LO Calc looses the 0 in A1 on load

To reproduce:
 * load the document.

Result:
 * cell A1 is empty
 * cell C1 contains the string "ist leer" AKA "is empty"

Expected:
 * cell A1 contains a hidden 0
 * cell C1 contains the string "enthält 0" AKA "contains 0"

The attached document was produced with OOo 3.2.1.

Bibisect release repo pointed to:
1182cffff1081b6907d4568a093ecec2411e20da is the first bad commit
commit 1182cffff1081b6907d4568a093ecec2411e20da
Author: Matthew Francis <mjay.fran...@gmail.com>
Date:   Tue Apr 14 22:42:38 2015 +0800

    libreoffice-4.0.3.1

    LibreOffice_4.0.3.1_Linux_x86-64_deb.tar.gz

Bibisect of repo 43all pointed to:

89740762f0af849e492932bd71e59149cdcd5a00 is the first bad commit
commit 89740762f0af849e492932bd71e59149cdcd5a00
Author: Bjoern Michaelsen <bjoern.michael...@canonical.com>
Date:   Mon Dec 10 01:57:45 2012 +0000

    source-hash-06f20d73da21342046a480a6b22af69901351328

    commit 06f20d73da21342046a480a6b22af69901351328
    Author:     Stephan Bergmann <sberg...@redhat.com>
    AuthorDate: Fri Jul 20 11:10:05 2012 +0200
    Commit:     Stephan Bergmann <sberg...@redhat.com>
    CommitDate: Fri Jul 20 11:10:05 2012 +0200

        Fix SAL_LOG area usage

        Change-Id: If8acc5e9fee2730796637dfb505e0c514f96f1a3

$ git log
b0f170d7df9cff12535d2ecfd146b32b745a8ef8~1..06f20d73da21342046a480a6b22af69901351328
--pretty=oneline | wc -l
65

$ git log
b0f170d7df9cff12535d2ecfd146b32b745a8ef8~1..06f20d73da21342046a480a6b22af69901351328
--pretty=oneline sc/
b37bcdded66ae82c5677fe60d8347b87281f3fa2 Prefer prefix ++/-- operators for
non-primitive types

61c39eae570d6d6040b65bfe93127b30e6080cc8 Display blank cell instead of zero in
matrix cells with blank text result
abdffd2e442356782ee6bd947936afc7fb9e4287 Add test case for matrix reference
cells with blank text result

^^^ those look promising

15929afc1a0da30ece4b193f4d2cf327886eb440 Revert "Let's see if stripping the
const here will fix the clang build..."
52022b5f82385b28687bf46424d0d24be1964a4a Let's see if stripping the const here
will fix the clang build...
ce8ecf1d343224a6db823860e4dcf46d2dfe5654 Specify function object as template
argument rather than local variable.
4c1d32263e580d41e4b8fea58aab6588f7579e96 This should be bool.
9f36df7943127d82aba46590aeebd8abec110d70 Added comment.
7ba5f709030a78616d2331bd3894752c99fbc1fa Pass contiguous cell data as an array
to matrix. This is faster.
ed5d2c652cd053cd10f54fb028f513f20d6c6086 Less indentations via early bailout.
32d9ed46f6075c66e233b3c8f8036beceb60d87c Slightly more efficient compareMatrix.
8a7ba10c71229f10ee56b263aca4174d7a856f6c It's now faster to start empty and
fill non-empty elements.
229d86b238186e75621b6f617ebc4ee29756324b Use macro to define callbacks.
93c8b68ba62e392db6af85d0663e2ff31201eb22 Reorganized code to remove redundant
calls to get_type().
96610e8ed700f73592c65bee94d75d6fa9f9de96 Some cleanup and comments.
e0704701ded22352f058acde6fe5d36bbd278d47 Turns out that C++03 doesn't support
use of static double inside template.
d3629a3942b681fcff006967c50394b3a9c344ee It's no longer possible to unionize
value and string here...
d13804609737114f30dbc7580e4bc76e66cb02a8 We no longer need density types.
891e5892b2798a6bc326a688ed50e79a4a9d336b This is no longer true.
2789bcb41b9b71551f2acd5e2d9df959c599a608 Support resizing matrix with a default
value.
c79305f2a1218a3cbf74c7db3c9745429e8b7883 For sum product, the initial
accumulator value should be 1, not 0.
608fdfe12329094604d9424f1225e23d94ac7537 Don't forget to initialize the flag
matrix.
cc72060199d83e7d919edc3b1a295dc9f8f8b97b A little cleanup.
0ddcb7a07a42294200b86dac7e67a4c82e03fcf4 Implement Sum(), SumSquare(), etc...
b4c774a51fab40569abf6298789f6dedfbebdd12 Now, we need to explicitly pass 0.0 as
the initial value of a matrix.
c31905c88ca6160a2c12565e036f5aa02a5be086 Initial cut on matrix backend
swapping. Still lots of things to fix.
b7dbc768a71ccfb567e3b2979e57d0d1318977cf resolved fdo#52205 do not force all
text cells in CSV import

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to