Description: Suppose you want to Mail Merge and to insert a new field with a condition (insert → Field → more Fields → Functions → conditional text). In the field "Condition": [testdb.Sheet1.Title]=="Engineer" In the field "Then": Prof. Dr. Eng. After printing the document, you should see the text Prof. Dr. Eng. if the condition is true. But it remains empty, because it contains several points. I tested it without points and it worked! Steps to Reproduce: 1.insert → Field → more Fields → Functions → conditional text 2.In the field "Condition": [testdb.Sheet1.Title]=="Engineer" 3.In the field "Then": Prof. Dr. Eng. 4.Print the document and click yes when you see the dialog (Your document contains address database fields. Do you want to print a form letter?). 5.Open the exported file and see the results! Actual Results: The field remains empty. The text would be printed only if the field "Then" doesn't contain this points. Expected Results: The inserted field should contain Prof. Dr. Eng. Reproducible: Always User Profile Reset: No Additional Info: Version: 5.2.7.2 Build ID: 1:5.2.7-1+deb9u4 CPU Threads: 8; OS Version: Linux 4.9; UI Render: default; VCL: gtk2; Locale: en-US (en_US.utf8); Calc: group
reproducible with: Version: 6.1.3.1 (x64) Build-ID: a9670562c26181ec3afbe381c9ff499ae88c98b7 CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; Gebietsschema: de-DE (de_DE); Calc:
Created attachment 146054 [details] test case db
Created attachment 146055 [details] test case document
it works if no dots are used...
Also reproduced in Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
(In reply to Xisco Faulí from comment #4) > it works if no dots are used... So it happens if more than one dot is used. Same behaviour with the else statement
I guess LibreOffice assumes if there's more than a dot the string points to a table in a database like we would do with test_case.Contacts.Title=="Engineer". Obviously, as Prof. Dr. Eng. doesn't exist, it prints an empty string. My 2 cents... @Jan-Marek, I thought you could be interested in this issue...
@Oliver Brinzing I could not open the attachments. So what can I do now? Is not that a bug?
(In reply to Nawar Aldanaf from comment #8) > I could not open the attachments. i have no problems downloading the attachments. maybe a problem with your internet connection/firewall ?
(In reply to Oliver Brinzing from comment #9) > (In reply to Nawar Aldanaf from comment #8) > > I could not open the attachments. > > i have no problems downloading the attachments. > maybe a problem with your internet connection/firewall ? No problem with internet/firewall . I have downloaded the file but it has been saved as "=_UTF-8_Q_test=5Fcase=2Eodb_=.txt" and when I open it, I only see Question marks
My guess is other people use it in documents to refer to a DB entry. I don't know if spaces would be allowed but even if not this probably used to be an error, so making that a valid different case instead won't help much. What happens if you escape the dots as \.? No idea if this is supported in these fields, but it would probably be a way to implement it and won't break documents. Or is there some other common escaping variant used in LO?
Or even ODF hase some specs, how this field should behave and be encoded or escaped.
Nothing happens if dot is scaped ( \. ). OTOH, spaces are accepted
Dear Nawar Aldanaf, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
It works fine if "Prof. Dr. Eng." is used *with double quotes* -> possibly NOTABUG Also there *might* be a possible enhancement to detect more "invalid" names, like having spaces - but generally that would be just a bit more convenience, but not a game changer, since there would still be plenty of cases where quotes would be required to disambiguate (e.g., where spaces are not used).
*** This bug has been marked as a duplicate of bug 68364 ***