Issue 94068

Summary: too many error messages when updating a record in a form where the backend raises an error
Product: Base Reporter: Frank Schönheit <frank.schoenheit>
Component: codeAssignee: marc.neumann
Status: CLOSED FIXED QA Contact: issues@dba <issues>
Severity: Trivial    
Priority: P4 CC: drewjensen.inbox, issues
Version: DEV300m31Keywords: usability
Target Milestone: OOo 3.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
document to reproduce the bug case none

Description Frank Schönheit 2008-09-19 12:11:59 UTC
- open the attached database document
- open the contained form by double-clicking it
- move to a new record, if necessary
- insert some text into the "comment" field, but leave the "name" field empty
- press the "Save Record" button in the "Form Navigation" toolbar
=> an error message pops up saying that the record could not be inserted
- confirm the error message with OK
=> another error message pops up, saying the same thing again ...

That's one message box too much, isn't it?
Comment 1 Frank Schönheit 2008-09-19 12:12:25 UTC
Created attachment 56633 [details]
document to reproduce the bug case
Comment 2 Frank Schönheit 2008-12-18 12:44:22 UTC
fixed in CWS dba32a

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fdba32a
Comment 3 Frank Schönheit 2009-02-26 12:06:52 UTC
fs->msc: please verify in CWS dba32a
Comment 4 Frank Schönheit 2009-02-26 12:32:10 UTC
targeting to 3.2, since the fix is part of a CWS aiming for this release
Comment 5 marc.neumann 2009-04-14 13:35:13 UTC
verified in CWS dba32a

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fdba32a
Comment 6 drewjensen.inbox 2009-06-01 04:39:11 UTC
Well - 

Checked using DEV300_m49 w/ Ubuntu Jaunty 64bit

Following the directions - there is one too few error messages now :>)
After pressing the save button:
No error message
Navagator bar shows this is Record 1 of 0
No input  from the user is accepted in any form control until the Refresh button
on the Nav bar is pressed.

I'll try again under a 32bit Linux and or XP to see if this is platform specific
or will re-open if it happens there also.
Comment 7 Frank Schönheit 2009-06-02 11:41:24 UTC
fs->atjensen: submitted issue 102439 about the problem you found - this is not
about the error message, but actually the insertion does not happen at all, and
the underlying RowSet is inconsistent afterwards