SRU details:

= RATIONALE =
This is:
- a severe regression from the previous release of Ubuntu
- while it might directly not cause a loss of user data, it might cause 
corruption of user data which might be even worse

= RESOLUTION =
The bug has been found to be caused by an call to the function IterateMatrix() 
in sc/source/core/tool/interpr1.cxx with the wrong order of parameters. This 
causes the initial value of the iteration to be wrong for PRODUCT. It seems to 
be right still for other functions by pure luck (i.e. as fMem is 0 it works out 
correctly for most calls - but for PRODUCT calls fRes has to be 1 initially).

= REPRODUCING THE BUG =
TEST CASE:
- Open calc spreadsheet
- type in "=PRODUCT({1, 2, 3})" as formula for a cell
- expected result: 6
- actual result: 1

= REGRESSION POTENTIAL =
No potential regressions.

= RELEVANT PACKAGES =
The bug has been addressed in source package libreoffice-1:3.3.2-1ubuntu5 as 
uploaded to https://launchpad.net/~libreoffice/+archive/ppa . This is a joined 
SRU with bug 746375 because of LibreOffice package size. Attaching one debdiff 
with both fixes, but as the fixes are injected using patches in the build 
process, both are clearly separated.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/775608

Title:
  [Upstream] Libreoffice Calc's PRODUCT function doesn't calculate
  correctly with certain array formulas

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to