Issue 117122 - second formula in a table goes to wrong cell
Summary: second formula in a table goes to wrong cell
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: DEV300m99
Hardware: All Windows XP
: P3 Normal (vote)
Target Milestone: 3.4.0
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2011-02-28 11:31 UTC by Regina Henschel
Modified: 2012-06-20 02:59 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2011-02-28 11:31:40 UTC
I see the error in DEV300m101, but that is not in the list.

Take a new Writer document.
Insert a table with 2 columns and at least 3 rows.
(Enter the following items without the quotation marks.)
Click into cell A1, write text "item one"
Click into cell B1, write the formula "=2*3", click on the apply icon in the formula bar.
Click into cell A2, write text "item two"
Click into cell B2, write the formula "=5*7", click on the apply icon in the formula bar.
Notice, that after the formula bar is closed, the formula is not in cell B2 but the cell B1 is changed.

Another scenario:
...
Click into cell A2, write text "item two"
Click into cell B2, write the formula "=5*7", click on the red cancel icon in the formula bar.
Notice, that after the formula bar is closed, the formula in the cell B1 is deleted.

After each reload, first entering a formula goes to the correct cell, all further entered formulas go to a wrong place.

OOo3.3 does not show this error. So it is a regression.
Comment 1 michael.ruess 2011-03-01 09:29:17 UTC
MRU->OS: curious thing... enter text and calculations in table as described and see that the second calculations result will not stay in cell B2 - it will move to A2 and overwrite the former result.
After this, Writer seems totally confused and it may happen, that further calculations will be inserted as field outside the table.
Comment 2 Oliver Specht 2011-03-01 12:15:27 UTC
Broken in m99 - maybe a regression of cws undoapi?
Reassigned to mst
Comment 3 mst.ooo 2011-03-03 14:15:10 UTC
ouch, what a silly bug...
when consolidating 3 duplicate copies of some code into a function,
overlooked that 2 of the copies had an extra line, and unfortunately
i used the copy without that extra line...

fixed in CWS sw34bf04
http://hg.services.openoffice.org/hg/cws/sw34bf04/rev/ae7647d256ec
Comment 4 michael.ruess 2011-03-16 08:15:53 UTC
Verified in CWS sw34bf04.
Comment 5 Oliver-Rainer Wittmann 2012-06-13 12:22:27 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 6 binguo 2012-06-20 02:59:45 UTC
Verified it on Aoo_Trunk_20120616.1800.1350879 and it does not reproduce, so close it as fixed.