Bug 106222 - Mailmerge missing text data from Base Query
Summary: Mailmerge missing text data from Base Query
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Mail-Merge
  Show dependency treegraph
Reported: 2017-02-27 20:00 UTC by dportenlanger
Modified: 2019-06-21 02:54 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Base Query Example (17.49 KB, image/png)
2017-03-07 20:52 UTC, dportenlanger
Document containing merge fields (4.52 KB, image/png)
2017-03-07 20:55 UTC, dportenlanger
Merged Document (4.79 KB, image/png)
2017-03-07 20:58 UTC, dportenlanger

Note You need to log in before you can comment on or make changes to this bug.
Description dportenlanger 2017-02-27 20:00:20 UTC
After creating a Base query to filer MSSQL using JDBC, BASE shows all the correct data.  When it is used in a mail merge, text fields show no data. Numeric and logical fields are displayed. 

Steps to Reproduce:
1. Connect a mssql database to Base using JDBC
2. Create a base query to create some results
3. Go to writer and execute a mail merge against the query

Actual Results:  
Missing data on text fields

Expected Results:
Data is populated and merged from text fields

Reproducible: Always

User Profile Reset: No

Additional Info:

User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
Comment 1 Buovjaga 2017-03-04 18:19:10 UTC
Has this worked in an earlier version?
Does the problem still appear in 5.3?

Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 2 dportenlanger 2017-03-07 20:18:52 UTC
I am not aware that this has worked in an earlier version.  I have not attempted 5.3, but I will test it.
Comment 3 dportenlanger 2017-03-07 20:52:24 UTC
Created attachment 131732 [details]
Base Query Example

This is a base query with some fields that is extracted from JDBC MSSQL.
Comment 4 dportenlanger 2017-03-07 20:55:20 UTC
Created attachment 131733 [details]
Document containing merge fields

This shows employee #, first and last name.  Note that if I go to Writer and View/Data Sources, it sees the contents of the base query correctly.
Comment 5 dportenlanger 2017-03-07 20:58:39 UTC
Created attachment 131734 [details]
Merged Document

Notice that the integer field of the employee # shows in the merge, but where is first name and last name?  Text fields do not appear in the merge.  If I make a spreadsheet from this query and merge from the spreadsheet, it works.  Writer doesn't work directly correctly from the Base query.
Comment 6 Dieter 2018-10-21 14:23:36 UTC
It seems, that nobody could confirm this bug for more than 18 month. And also no comments were made during this timeframe. So I‘d like to ask, if it is still reproducible for you.
Comment 7 Xisco Faulí 2018-11-21 11:58:54 UTC
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 8 QA Administrators 2019-05-21 02:54:28 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2019-06-21 02:54:16 UTC
Dear dportenlanger,

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