Apache OpenOffice (AOO) Bugzilla – Issue 26944
Database form should not save database table contents in form file
Last modified: 2006-05-31 14:29:06 UTC
For a database form and a JDBC datasource with "password required", the password dialog pops up when the form is first opened, but the first record in the form is already exposed. It remains exposed if the password dialog is cancelled or simply moved aside. The form should refuse to show any data without a password. Unzipping the form file and inspecting content.xml shows that the database data of the current record were saved inside the form file. <form:control <form:text form:current-value="some text data" And not only the data of the current record. The entire list from a combo-box was also saved in the file. This list is supposed to be read from another database table at the time the form is opened. It can also be refreshed. But it should not be saved.
confirming and grabbing
accepting and targeting. Since this is a potential privacy issue, this should be 2.0 at least.
Fixed. Now the following holds: - for any control which can be bound to a database field: - If the control is currently (at the moment the document is saved) properly bound, the current-value will not be written - If the control is bound to a spreadsheet cell, or any other external value supplier (e.g. a node in an DOM tree, in the upcoming eForms application), then the current-value will not be written - In all other cases, the current-value will be written - for list boxes and combo boxes: - If the list entries are obtained from a spreadsheet cell range, they're not saved - If the list entries are obtained from a database table/query/statement, they're not saved - In all other cases, the list entries will be written
reopening for reassign to QA
fs->msc: please verify in CWS dba13 (http://eis.services.openoffice.org/EIS2/servlet/cws.ShowCWS?Id=1349&Path=SRC680%2Fdba13)
argh. The CWS is dba12, not dba13. Sorry.
fixed in cws dba12
verified in cws dba12
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