https://bugs.documentfoundation.org/show_bug.cgi?id=91600
Bug ID: 91600 Summary: EDITING: oForm.UpdateRow() doesen't refresh all fields of a form Product: LibreOffice Version: Inherited From OOo Hardware: x86-64 (AMD64) OS: Linux (All) Status: UNCONFIRMED Severity: major Priority: medium Component: Base Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: rob...@familiegrosskopf.de Created attachment 116005 --> https://bugs.documentfoundation.org/attachment.cgi?id=116005&action=edit Activate macros. open the database, open the form and press the button ... 1. Activate LO to execute macros. 2. Open the attached database. 3. Open the form. 4. Press the button «Set all fields except primary key "ID" NULL». The value in the field "firstname" disappears. All other values seem still be saved in the table. 5. Go to next row. 6. Go back to first row. All fields except "ID" are empty. The macro: SUB SetNull(oEvent AS OBJECT) oForm = oEvent.Source.Model.Parent oForm.getByName("firstname").BoundField.UpdateNULL() oForm.getByName("lastname").BoundField.UpdateNULL() oForm.getByName("street").BoundField.UpdateNULL() oForm.getByName("town").BoundField.UpdateNULL() oForm.getByName("birthday").BoundField.UpdateNULL() oForm.getByName("gender").BoundField.UpdateNULL() oForm.UpdateRow END SUB All fields are set NULL except "ID". This works right. UpdateRow works right except refreshing the content of all fields to the new content. Expected behavior: UpdateRow should refresh content of all fields of a row to see the saved values in the table of the database. I set the severity of this bug to «major». For normal users there seem to be data loss while switching from one row to another. Bug appears on OpenSUSE 13.2 64bit rpm Linux with every installed LO-Version including LO 3.*. So I set the version to «Inherited from OOo» -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs