[Libreoffice-bugs] [Bug 121590] Unable to alter or delete user fields containing spaces

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 29 13:40:20 UTC 2021


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

Andreas Heinisch <andreas.heinisch at yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|libreoffice-bugs at lists.free |andreas.heinisch at yahoo.de
                   |desktop.org                 |
                 CC|                            |andreas.heinisch at yahoo.de

--- Comment #4 from Andreas Heinisch <andreas.heinisch at yahoo.de> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210429/bea55390/attachment.htm>


More information about the Libreoffice-bugs mailing list