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

Andreas Heinisch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |
                 CC|                            |[email protected]

--- Comment #4 from Andreas Heinisch <[email protected]> ---
According to the documentation in
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1419030_253892949
the name can be any variableName, which is "a string specifying the name of a
variable".

The check in the dialog was inserted in the following commit
https://github.com/LibreOffice/core/commit/4b920e0b45a42c55503dc03a7297733fb2cfb2a3,
but unfortunately I cannot find the mentioned bug.

There even exists a file in
https://git.libreoffice.org/core/+/f2039cdbd827d60b8e0dbfa2e1d02dbb276514d6%5E%21
which contains user fields including whitespaces and does get validated using a
odf validator.

So we may allow whitespaces, and validate the field name when inserted via api.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to