[Libreoffice-bugs] [Bug 141016] New: Dropdown list disabled in Form if no primary key defined in data model
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Mar 14 09:59:48 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=141016
Bug ID: 141016
Summary: Dropdown list disabled in Form if no primary key
defined in data model
Product: LibreOffice
Version: 7.0.4.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Base
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: frank.derville at orange.fr
Description:
When creating a form with a dropdown list, my data (stored in MySQL database)
had no primary key defined (nor foreign key). I was able to create the dropdown
list. But when I used the form the list was empty and disabled. There was no
error message.
Expected behavior : have an error message saying the a primary key should be
defined on which field of which table.
Steps to Reproduce:
1. Create 2 tables with a common field but do not declare primary key
2. Create a form with first table
3. Add a dropdown list from the second table
4. See the result in Display mode
Actual Results:
The dropdown list is empty and disabled in the form
Expected Results:
An error message that helps identifying the issue and not lose time
Reproducible: Always
User Profile Reset: No
Additional Info:
When creating the dropdown list there should have been an error message
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210314/4a1094f0/attachment.htm>
More information about the Libreoffice-bugs
mailing list