Bug 139267 - FORMS: Databases lost contact to Writer-form
Summary: FORMS: Databases lost contact to Writer-form
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.1 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2020-12-27 20:16 UTC by Robert Großkopf
Modified: 2021-01-22 06:04 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2020-12-27 20:16:17 UTC
Open https://bugs.documentfoundation.org/attachment.cgi?id=168523 and link the database to LO through Tools → Options → LibreOffice Base.

Open the *.odt-file.

Edit the form.
Right click on a field and chose the properties for the form.
Seems data source is empty.
Chose the data source "Beispiel_Sport_HSQLDB".
Chose the table "rel_Teilnehmer_Sportart".
Save the form.
Close the form.
Open the form again.

Edit the form and have a look: The data source has been gone.

This behavior appears with LO 7.1.0.1 and OpenSUSE 15.2. 64bit rpm Linux. It doesn't happen with LO 7.0.4.2.
Comment 1 Justin L 2021-01-21 18:20:06 UTC Comment hidden (obsolete)
Comment 2 Justin L 2021-01-21 18:35:55 UTC
Steps to reproduce are simply
Step 0) link the database to LO through Tools → Options → LibreOffice Base.

1.) Open the *.odt-file.  The combo-boxes should have something inside.

Bibisect-linux-64-7.1 points to author	Noel Grandin on 2020-11-11 06:33:53 with
commit 3de38e95561ab7ca114d9f3307702ba89c4e3e9a
use fastparser in forms
Comment 3 Justin L 2021-01-22 06:04:40 UTC
This seems to have been fixed in 7.1 by author Michael Stahl on 2021-01-11 10:29:48 with commit db283d2e3f5cd8be412c5204f358cd06af761b13 
    xmloff: "form:datasource" vs. "db:data-source"
    Recently xmloff started to use XML_DATASOURCE for "form:datasource"
    but it actually means "data-source".

    Add XML_DATA_SOURCE and use it for "db:data-source".

    (regression from 3de38e95561ab7ca114d9f3307702ba89c4e3e9a)