Download it now!
Bug 122299 - Base/Writer MailMerge: Saved "Label Document": Error Message "The data source was not found."
Summary: Base/Writer MailMerge: Saved "Label Document": Error Message "The data sourc...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Mail-Merge
  Show dependency treegraph
Reported: 2018-12-24 02:16 UTC by OldIronSides1797
Modified: 2019-09-02 09:35 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Error Message Screen Print (21.57 KB, image/png)
2018-12-24 02:22 UTC, OldIronSides1797
Sample Base Database file (5.38 KB, application/vnd.oasis.opendocument.database)
2018-12-24 02:24 UTC, OldIronSides1797
Sample Label Document (i.e. Libre Writer) (12.05 KB, application/vnd.oasis.opendocument.text)
2018-12-24 02:25 UTC, OldIronSides1797

Note You need to log in before you can comment on or make changes to this bug.
Description OldIronSides1797 2018-12-24 02:16:45 UTC
Libre Office Writer/Base - MailMerge "Label Document" Error.
Error Message: "The data source "BizMailingListData" was not found."

- Label documents only work for MailMerge printing during the LibreOffice Writer session in which they are created. During any other LibreOffice Writer session they produce an error message. (See attached sample error message.)

- This requires that a new label document is created each time labels are printed.  Saved label documents that are used in a later LibreOffice Writer session are useless and always produce an error. 

- This bug is with the MailMerge feature which involves both LibreOffice Writer and LibreOffice Base.  However, the bug appears to be in the source code for LibreOffice Writer.

Steps to Reproduce:
1. To produce the error create a MailingList table in LibreOffice Base similar to the one attached. (See Sample Database file)  
2. In LibreOffice Base, create a label document from the LibreOffice Base table. 
(File > New > Label) 
(See Sample label document)
3. In the LibreOffice Base label creation window, add the appropriate fields from the right (i.e. database fields) to the leftside (i.e. label). 
4. Click on the "New Document" button to create the new LibreOffice Writer label document. 
4. Now print the LibreOffice Writer Label document. 
(File > Print...) 
-The MailMerge dialog appears: 
"Your document contains address database fields. Do you want to print a form letter?" 
-Click on the "Yes" button.
-The labels should print normally.
5. Save and close the LibreOffice Writer Label Document.   
6. Re-open the Label Document file and attempt to print it as above. (File > Print...)
-The MailMerge dialog appears 
"Your document contains address database fields. Do you want to print a form letter?" 
-Click on the "Yes" button.
-This time the error message appears and the label document fails to print. 

Actual Results:
Error Message: "The data source "BizMailingListData" was not found."

Expected Results:
Successful printing of address labels from existing Base Database. 

Reproducible: Always

User Profile Reset: No

Additional Info:
- I discovered this bug while following the instructions in the LibreOffice Help documentation: 
- (See Search Term: labels;creating and synchronizing)
- (See Search Term: labels;from databases)

LIBREOFFICE VERSION - In which bug was discovered:
Build ID: libreoffice-
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: group threaded
(The release was provided by Canonical.)

OPERATING SYSTEM - On which LibreOffice was installed. 
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename:	bionic
Comment 1 OldIronSides1797 2018-12-24 02:22:44 UTC
Created attachment 147791 [details]
Error Message Screen Print

If I could upload more attachments I would attach them all at once.
Comment 2 OldIronSides1797 2018-12-24 02:24:10 UTC
Created attachment 147792 [details]
Sample Base Database file

If I could upload more than one file I would attach them all at once.
Comment 3 OldIronSides1797 2018-12-24 02:25:43 UTC
Created attachment 147793 [details]
Sample Label Document (i.e. Libre Writer)

If I could upload more than one file I would upload them all at once.
Comment 4 Xisco Faulí 2019-01-24 11:15:35 UTC
I can't reproduce it in

Build ID: 1:6.1.4-0ubuntu0.16.04.1~lo2
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group threaded

What I've done:
1. Open Writer
2. Go to View - Data Sources and register the database attached
3. Open the .ODT document
4. Print

Even if I close LibreOffice and open it again, i can print it without problems.
Did you register the database?
Comment 5 QA Administrators 2019-07-31 02:54:07 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2019-09-02 09:35:10 UTC
Dear OldIronSides1797,

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