Bug 121902 - DOCX: date forms with free-form date strings cannot be edited
Summary: DOCX: date forms with free-form date strings cannot be edited
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:6.4.0
Keywords: filter:docx
Depends on:
Blocks: DOCX-Content_Control
  Show dependency treegraph
 
Reported: 2018-12-04 14:51 UTC by mkrajnak
Modified: 2020-03-31 06:13 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
date file (22.01 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-12-04 14:51 UTC, mkrajnak
Details
Screenshot of the example document in 6.4 (65.25 KB, image/png)
2020-03-30 16:47 UTC, NISZ LibreOffice Team
Details
The example document saved by current master (22.05 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-03-30 16:48 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mkrajnak 2018-12-04 14:51:19 UTC
Created attachment 147279 [details]
date file

Two of the three date forms in the attached documents are not editable in Writer but they can be edited in MS application.

This bug was filled by fact based on discussion in the bug121203.
https://bugs.documentfoundation.org/show_bug.cgi?id=121203
Comment 1 Durgapriyanka 2018-12-04 15:21:57 UTC Comment hidden (obsolete)
Comment 2 mkrajnak 2018-12-04 15:26:30 UTC
(In reply to Durgapriyanka from comment #1)
> Thank you for reporting the bug. Unfortunately I can't reproduce in
> 
> Version: 6.1.3.2

The bug I was mentioning in the report was fixed and since the fix is available (version 6.2 beta), from that version I am not able to see forms, I was able to see them in previous versions as well.
Comment 3 Miklos Vajna 2018-12-04 15:41:14 UTC
Confirmed. The root of the problem is that the docx file has some free-form date strings: something our date control doesn't support, as far as I see.
Comment 4 Eike Rathke 2018-12-05 11:42:34 UTC
@Miklos:
Does Writer use the number formatter/scanner there for parsing dates?
Asking because that can handle a 17-Oct-2018 date as value but apparently not combined as date+time 17-Oct-2018 09:00
Would it help if it did? (it's unclear to me what then should happen with such a combined value but that would be a problem of Writer then ;-)
Comment 5 Xisco Faulí 2018-12-12 18:35:33 UTC
Also reproduced in

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 6 NISZ LibreOffice Team 2020-03-30 16:47:20 UTC
Created attachment 159159 [details]
Screenshot of the example document in 6.4

This got fixed in:

Verzió: 6.4.0.3 (x86)
Build az.: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU szálak: 4; OS: Windows 6.3 Build 9600; Felületmegjelenítés: alapértelmezett; VCL: win; 
Területi beállítások: hu-HU (hu_HU); Felület nyelve: hu-HU
Calc: CL
Comment 7 NISZ LibreOffice Team 2020-03-30 16:48:27 UTC
Created attachment 159160 [details]
The example document saved by current master

After changing and saving it works even in Word.
Comment 8 NISZ LibreOffice Team 2020-03-30 16:55:40 UTC
The fields started to be editable in:

URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=68e1be4ccbb90ee9a788962219a88312c4ffbea2 
author	Tamás Zolnai <tamas.zolnai@collabora.com>	2019-07-10 18:22:31 +0200
committer	Tamás Zolnai <tamas.zolnai@collabora.com>	2019-07-12 12:55:40 +0200
summary: MSForms: Rework text-based date form field's representation

Thanks for fixing this Tamás!