Issue 24495 - new record via formular with default values doesn't work correct
Summary: new record via formular with default values doesn't work correct
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-17 14:22 UTC by herbk
Modified: 2006-05-31 14:29 UTC (History)
2 users (show)

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


Attachments
sample document to reproduce the bug case (5.86 KB, application/vnd.sun.xml.writer)
2004-05-14 15:55 UTC, Frank Schönheit
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description herbk 2004-01-17 14:22:51 UTC
i createt a form to submit datas to an on OOo registred database. 
some of the form-fields are presetet with arguments (p.e. Mr. and the current 
date) and: the form-fields are presetet, not the Database fields! 
wenn you open this form on setting for "expant only" (you get a blank form) 
and fill it up, not chanching the arguments of the presetet fields, the 
submision to the database is inkomplete: 
just the arguments of the manual filled form fields will be sunmited to the 
database, the presettet arguments are not submitted. 
this happens only at the first dataset you submit. the second (and each more) 
dataset will be submittet with all arguments. also the submission is ok, if 
you chanche the presettet arguments, or if you open the form not in "expand 
only" mode. 
I tried on win and linux and with different databases... 
Herbk 
sorry for my bad english, but i hope you understand what i mean....
Comment 1 thomas.lange 2004-01-19 09:31:46 UTC
TL->MSC: This is surely not about Math. Please have a look.
Comment 2 marc.neumann 2004-01-19 14:30:15 UTC
Hi,

I can reproduce this.

- create a simple form with 2 fields for the biblio table
- set a default value for the form controls
- turn off the design view
- create a new record with the form
==>> the default values are not saved in the new record.

Target 2.0 becuase it works in OOo 1.0.3.

Bye Marc
Comment 3 Frank Schönheit 2004-02-05 07:52:06 UTC
accepting
Comment 4 Frank Schönheit 2004-04-27 18:12:53 UTC
fs->msc: I cannot reproduce this - neither with 1.1.0, nor 1.1.1, nor SRC680m35.
Could you please try to refine your description above?
Comment 5 Frank Schönheit 2004-04-27 18:14:53 UTC
correcting component an QA contact
Comment 6 Frank Schönheit 2004-05-14 15:01:38 UTC
Okay, I missed the fact that "Add data only" must be set to "Yes" to reproduce
the bug.
Comment 7 Frank Schönheit 2004-05-14 15:55:23 UTC
Created attachment 15274 [details]
sample document to reproduce the bug case
Comment 8 Frank Schönheit 2004-05-14 15:57:07 UTC
for easier reproduction, I attached a sample document
- open the document - it is a simple form for the Bibliography/biblio table
- enter some text into the "Type" input field
- press the "save record" button in the form navigation toolbar
=> see how the text vanishes from the "Identifier" control

The text in the "Type" field has been saved, but *not* the text in the
"Identifier" field.
Comment 9 Frank Schönheit 2004-05-14 15:59:10 UTC
fixed in CWS dba12 (see
http://eis.services.openoffice.org/EIS2/servlet/GuestLogon for the status of
this CWS)
Comment 10 Frank Schönheit 2004-06-18 16:57:19 UTC
reopening for reassign to QA
Comment 11 Frank Schönheit 2004-06-18 17:00:10 UTC
fs->msc: please verify in CWS dba13
(http://eis.services.openoffice.org/EIS2/servlet/cws.ShowCWS?Id=1349&Path=SRC680%2Fdba13)
Comment 12 Frank Schönheit 2004-06-18 17:06:27 UTC
argh. The CWS is dba12, not dba13. Sorry.
Comment 13 marc.neumann 2004-06-21 15:18:39 UTC
fixed in cws dba12
Comment 14 marc.neumann 2004-06-21 15:19:03 UTC
verified in cws dba12
Comment 15 marc.neumann 2004-11-24 13:04:34 UTC
Hi,

fixed in current developer build -> close.
The current developer build can be found at
http://download.openoffice.org/680/index.html
Feel free to reopen if this issue is not fixed in the developer build.

Bye Marc