[Libreoffice-bugs] [Bug 121188] forms controls are created with "input required" set to yes by default

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Nov 6 16:01:46 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=121188

Lionel Elie Mamane <lionel at mamane.lu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|bibisectRequest             |

--- Comment #7 from Lionel Elie Mamane <lionel at mamane.lu> ---
This looks like a very old bug that is exposed by the fix to bug 75341.

Before that, the form control's "input required" was actually ignored as soon
as the column allowed NULLs. Now it is not ignored anymore.

The bug is that form controls are always created with "input required" set to
true by default. It should be:
 * quick fix: always false by default
 * better fix: true if the column is "NOT NULL"
   (i.e. rColInfo.nNullable == ColumnValue::NO_NULLS )
   else false
 * even better fix: true if the column is "NOT NULL" _and_
   does NOT have a default value, else false

-- 
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/20181106/f4821349/attachment.html>


More information about the Libreoffice-bugs mailing list