Hi, Libreoffice seems to have no way of entering free-form MERGEFIELDS, which would be needed when processing Word templates with xdocreport. And, what's worse, when opening a .docx made using Microsoft Word in Libreoffice, which contains such free-form MERGEFIELDS intended for processing by xdocreport, these MERGEFIELDs are mutilated in several ways: 1. they are cut short at a doublequote character 2. they are cut short at a space character beyond a certain length of string before
Thank you for reporting the bug. It seems, you are using an old version of LO. Could you please retest with actual version 7.6? If the bug is still present, please add a sample file. Thank you => NEEDINFO
Dear openoffice@alk.org.lu, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
Dear openoffice@alk.org.lu, Please read this message in its entirety before proceeding. Your bug report is being closed as INSUFFICIENTDATA due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided): a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present b) Provide easy to reproduce steps – the simpler the better c) Provide any test case(s) which will help us confirm the problem d) Provide screenshots of the problem if you think it might help e) Read all comments and provide any requested information Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. Please do not: a) respond via email b) update the version field in the bug or any of the other details on the top section of our bug tracker Warm Regards, QA Team MassPing-NeedInfo-FollowUp
Created attachment 195619 [details] test case showing how merge fields are mutilated by libreoffice Example file showing the issue. It contains 2 mergefields, one with a "quotedstring", and another one with a long list of words. Just opening it in Libreoffice, and saving it under a different name mutilates both mergefields: - "quotedstring" loses its quotes, and becomes quotedstring - the other one is cut short after the first space, keeping only 0123, and losing 456 789 abc def ghi Mergedfields with quotes and/or spaces are useful for the xdocreport template processor, and Microsoft Word preserves them just fine.
problem still happens in 24.2.5.2 (btw, why can't I copy-paste this from the About box?)
(In reply to openoffice@alk.org.lu from comment #4) > Created attachment 195619 [details] > test case showing how merge fields are mutilated by libreoffice > > Example file showing the issue. It contains 2 mergefields, one with a > "quotedstring", and another one with a long list of words. > > Just opening it in Libreoffice, and saving it under a different name > mutilates both mergefields: > > - "quotedstring" loses its quotes, and becomes quotedstring > - the other one is cut short after the first space, keeping only 0123, and > losing 456 789 abc def ghi > > Mergedfields with quotes and/or spaces are useful for the xdocreport > template processor, and Microsoft Word preserves them just fine. I opened the file in LibreOffice and office.com and it looks the same: This is a test 0 merge field 1 0 with the zeros being mail merge fields. Saved under a different name in LibreOffice and opened in office.com, it still looks the same. Help me out here, what exactly should I be observing in the document? (In reply to openoffice@alk.org.lu from comment #5) > problem still happens in 24.2.5.2 (btw, why can't I copy-paste this from the > About box?) You mean you clicked the copy button to the right of "Version Information" and the info wasn't copied to your clipboard? Arch Linux 64-bit Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 77aa9c210ad79af443191860ee1a7233d2d007cf CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: CL threaded Built on 2 September 2024
When (In reply to Buovjaga from comment #6) > (In reply to openoffice@alk.org.lu from comment #4) > > Created attachment 195619 [details] > > test case showing how merge fields are mutilated by libreoffice > > > > Example file showing the issue. It contains 2 mergefields, one with a > > "quotedstring", and another one with a long list of words. > > > > Just opening it in Libreoffice, and saving it under a different name > > mutilates both mergefields: > > > > - "quotedstring" loses its quotes, and becomes quotedstring > > - the other one is cut short after the first space, keeping only 0123, and > > losing 456 789 abc def ghi > > > > Mergedfields with quotes and/or spaces are useful for the xdocreport > > template processor, and Microsoft Word preserves them just fine. > > I opened the file in LibreOffice and office.com and it looks the same: > > This is a test > 0 > merge field 1 > 0 > > with the zeros being mail merge fields. > > Saved under a different name in LibreOffice and opened in office.com, it > still looks the same. > > Help me out here, what exactly should I be observing in the document? You can use Control-F9 to toggle between the display of the merge field and what it expands to, both in Microsoft Word and Libreoffice. When viewing the _definition_, you'll see that it is cut short from what is actually stored in the docx file. > > (In reply to openoffice@alk.org.lu from comment #5) > > problem still happens in 24.2.5.2 (btw, why can't I copy-paste this from the > > About box?) > > You mean you clicked the copy button to the right of "Version Information" > and the info wasn't copied to your clipboard? I couldn't select any text, the "About..." window wouldn't react at all to dragging over it. > > Arch Linux 64-bit > Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community > Build ID: 77aa9c210ad79af443191860ee1a7233d2d007cf > CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland) > Locale: fi-FI (fi_FI.UTF-8); UI: en-US > Calc: CL threaded > Built on 2 September 2024
(In reply to openoffice@alk.org.lu from comment #7) > You can use Control-F9 to toggle between the display of the merge field and > what it expands to, both in Microsoft Word and Libreoffice. When viewing the > _definition_, you'll see that it is cut short from what is actually stored > in the docx file. Ok, thanks, so View - Field Names. They started to be imported as fields in version 4.3 and the names are truncated already in that version. Let's set to NEW based on that. > > > > (In reply to openoffice@alk.org.lu from comment #5) > > > problem still happens in 24.2.5.2 (btw, why can't I copy-paste this from the > > > About box?) > > > > You mean you clicked the copy button to the right of "Version Information" > > and the info wasn't copied to your clipboard? > > I couldn't select any text, the "About..." window wouldn't react at all to > dragging over it. Yes, just click the button to copy.
(In reply to Buovjaga from comment #8) > (In reply to openoffice@alk.org.lu from comment #7) > > You can use Control-F9 to toggle between the display of the merge field and > > what it expands to, both in Microsoft Word and Libreoffice. When viewing the > > _definition_, you'll see that it is cut short from what is actually stored > > in the docx file. > > Ok, thanks, so View - Field Names. > > They started to be imported as fields in version 4.3 and the names are > truncated already in that version. Let's set to NEW based on that. Thanks. Glad to see that this is finally moving :-) > > > > > > > (In reply to openoffice@alk.org.lu from comment #5) > > > > problem still happens in 24.2.5.2 (btw, why can't I copy-paste this from the > > > > About box?) > > > > > > You mean you clicked the copy button to the right of "Version Information" > > > and the info wasn't copied to your clipboard? > > > > I couldn't select any text, the "About..." window wouldn't react at all to > > dragging over it. > > Yes, just click the button to copy. Tried that (just in case, it's just the highlighting that is missing), but that just pastes whatever I had selected elsewhere previously :-(
(In reply to openoffice@alk.org.lu from comment #9) > (In reply to Buovjaga from comment #8) > > Yes, just click the button to copy. > > Tried that (just in case, it's just the highlighting that is missing), but > that just pastes whatever I had selected elsewhere previously :-( It has a quirk that you need to leave the About dialog open while you paste.
(In reply to Buovjaga from comment #10) > (In reply to openoffice@alk.org.lu from comment #9) > > (In reply to Buovjaga from comment #8) > > > Yes, just click the button to copy. > > > > Tried that (just in case, it's just the highlighting that is missing), but > > that just pastes whatever I had selected elsewhere previously :-( > > It has a quirk that you need to leave the About dialog open while you paste. Nope, still happens even if I leave the about dialog open the entire time until I paste. Interestingly enough, elsewhere in libreoffice, copy-paste works just fine. Even if I paste only after I closed libreoffice.