Summary: | EDITING: Form data and defaults | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | mabajian86 |
Component: | Base | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | dr, LibreOffice, robert |
Priority: | medium | ||
Version: | 3.5.3 release | ||
Hardware: | Other | ||
OS: | All | ||
See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=140383 | ||
Whiteboard: | BSA | ||
Crash report or crash signature: | Regression By: |
Description
mabajian86
2012-05-29 15:09:36 UTC
I can't reproduce this. Created a little table and a default-value in the GUI. Then created a form with the wizard. The default-value of the GUI appears. I can change this values. The changing of the values is saved in the table. My System: OpenSuSE 11.4, 32bit, LO 3.5.5.2 Hi reporter, what do you think about "not reproducible"? Behavior still exists? There are two different definitions of "default value". You could create one in the GUI. But it isn't the same as created with SQL in the database. One example: If you want to have (as default) the current date, then it could only created by SQL - forms could only define a fixed date. The default values of the GUI where shown in the GUI and saved, when they are not changed. The default values of the SQL-code in the database are not shown before saving the data in a form. They are shown after saving the data, when the field in the form has been empty. They have been created at the moment the row has been saved. So this data could not be shown earlier - especially data for time and date. When I write in a date-field not the date of now, but the field is declared as default = now, then the input in the form is saved correctly in my system (OpenSuSE 11.4, tested with LO 3.3.4 and LO 3.6.1.2 rc) In my opinion the expected behaviour "Default values displayed on form" could be a wished enhancement - but not for date or time. The expected behaviour "Values entered on form override default values." is, what I can confirm - this works for me. And this would be a problem, if this doesn't work right. An attachement with a database, which shows this in the way mabajian86 wrote could be helpful. I have set the status to "Needinfo" Probably no bug. Reporter don´t answer. Changed status to "RESOLVED WORKSFORM" |