Bug 81782 - MAILMERGE: Some fields (Title, Subject, Author) only printed to the first document
Summary: MAILMERGE: Some fields (Title, Subject, Author) only printed to the first doc...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA target:4.4.0 target:6.3.0
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-26 14:05 UTC by ssch
Modified: 2018-12-30 23:38 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ssch 2014-07-26 14:05:08 UTC
Problem description: 

The default fields for topic and subject (document properties) are only printed to the first document by using the mail merge assistant.

Steps to reproduce:
1. define the document properties topic and subject (file->properties)
2. insert the fields to the document (tab "document info")
3. generate a mail merge document

Current behavior:
the inserted fields are only printed to the first document. In the followed documents there are only whitespace instead the expected content.

Expected behavior:
I would expect that these fields are printed to every document during the mail merge process.

Subject name of the conversation in the mailing list:
MAIL MERGE: Default fields "Topic" and "Subject" are only printed in first document

regards,
Sven
Operating System: Mac OS X
Version: 4.2.5.2 release
Comment 1 ign_christian 2014-07-26 16:14:42 UTC
Confirm reproducible under Ubuntu 12.04 x86 with: 
- LO 4.3.0.3, 4.2.6.2, 4.1.6.2, 4.0.6.2, 3.6.7.2, 3.5.7.2, 3.3.0.4
- AOO 4.1.0
So it's likely inherited from OOO

Not only fields "Title" (not "Topic" in en-US version) and "Subject", "Author" also has this problem as well.

The other fields (Date, Time, Page Number, Page Count) doesn't have this problem.
Comment 2 Commit Notification 2014-09-24 16:13:00 UTC
Jan-Marek Glogowski committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=cde554a731596f1ca53a911656b6503c96dadcc7

fdo#81782 MM: copy most document properties



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2018-12-30 23:38:43 UTC
Serge Krot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/+/41b577218a7378da344a55eea275fa347671cc00%5E%21

tdf#81782 new unit test: title/subject check in sub docs

It will be available in 6.3.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.