[Libreoffice-bugs] [Bug 131127] New: FILESAVE: Form: incorrect "time" type

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 4 15:16:16 UTC 2020


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

            Bug ID: 131127
           Summary: FILESAVE: Form: incorrect "time" type
           Product: LibreOffice
           Version: 7.0.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: xiscofauli at libreoffice.org

Steps to reproduce:
1. Open writer
2. Insert a time form
3. Exit design mode
4. Write 12:12 ( or any other value ) in the form
5. Save
6. Check the file in https://odfvalidator.org/ or check content.xml

-> form:current-value is PT12H12M, which is a valid ISO 8601 syntax for
*durations*. *time* is expected [1] [2] [3]

[1]
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1718338_1219268628
[2] https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#time
[3] https://en.wikipedia.org/wiki/ISO_8601 

Issue found while working on a unittest for bug 130515. See discussion:
https://gerrit.libreoffice.org/c/core/+/89895

Reproduced in

Version: 7.0.0.0.alpha0+
Build ID: c57d6d39c80844c9d4c6bfed85cc151e52a67b34
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

-- 
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/20200304/3db0d263/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list