Issue 106263 - Entering a value in a CurrencyField of a TableControl on a form crashes OOo
Summary: Entering a value in a CurrencyField of a TableControl on a form crashes OOo
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 3.1.1
Hardware: Mac Mac OS X, all
: P2 Trivial (vote)
Target Milestone: OOo 3.2
Assignee: marc.neumann
QA Contact: issues@dba
Keywords: crash, oooqa
Depends on:
Blocks: 99999
  Show dependency tree
Reported: 2009-10-25 19:45 UTC by pmazoyer
Modified: 2009-11-09 09:51 UTC (History)
1 user (show)

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

Sample Base file (10.00 KB, application/vnd.sun.xml.base)
2009-10-25 19:46 UTC, pmazoyer
no flags Details
Sample Base file v2 (10.08 KB, application/vnd.sun.xml.base)
2009-10-26 18:22 UTC, pmazoyer
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description pmazoyer 2009-10-25 19:45:05 UTC
Issue: Entering a value in a CurrencyField of a TableControl on a form crashes OOo.

This has been tested on 3.1.1 (310m19 Build 9420) on Mac OS X
10.6.1 (Intel). Java version is 1.6.0_15.

To reproduce the issue:

- Open "TestBase.odb" sample document
- Open "Table1" form.
- Attempt to add a record by entering any amount.
- OOo crashes.
Comment 1 pmazoyer 2009-10-25 19:46:14 UTC
Created attachment 65596 [details]
Sample Base file
Comment 2 pmazoyer 2009-10-25 20:50:57 UTC
On Ubuntu Linux 9.10 (same OOo version), no crash with the sample file but a
normal illegal null primary key error message (I forgot to set the ID of the
sample table to Autovalue).
Comment 3 r4zoli 2009-10-26 07:53:41 UTC
@pmazoyer  What happens, when you add autovalue to the table?
Comment 4 pmazoyer 2009-10-26 18:21:44 UTC

Still crashing. I will upload a sample file with autovalue set.
Comment 5 pmazoyer 2009-10-26 18:22:42 UTC
Created attachment 65634 [details]
Sample Base file v2
Comment 6 Frank Schönheit 2009-10-27 09:39:51 UTC
could reproduce in both OOo 3.1 and OOO320.m2 (the latest build towards OOo 3.2).

confirming, grabbing, nominating as 3.2 stopper
Comment 7 Frank Schönheit 2009-10-27 12:55:58 UTC
The crash itself happens "rightfully", in that the code in question does not
care for an exception being thrown. However, the fact that this exception is
thrown is caused by a compiler bug a few lines before that place. Luckily, I
found a workaround for this but ...
I committed the workaround to CWS dba32i, i.e. the issue will be fixed in OOo
3.2. I will add more sophisticated code to deal with this kind of exceptions in
CWS dba33b (i.e. for OOo 3.3).
Comment 8 Frank Schönheit 2009-10-27 22:27:31 UTC
fs->msc: please verify in CWS dba32i
Comment 9 marc.neumann 2009-10-30 12:30:47 UTC
verified in CWS dba32i

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
Comment 10 r4zoli 2009-11-09 09:51:01 UTC
Verified in OOO320_m4.