Issue 112630 - Writer is not generating emails with mail merge and pdf
Summary: Writer is not generating emails with mail merge and pdf
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: DEV300m83
Hardware: PC Windows, all
: P3 Trivial with 1 vote (vote)
Target Milestone: 3.4.0
Assignee: h.ilter
QA Contact: issues@sw
URL:
Keywords:
: 115636 (view as issue list)
Depends on:
Blocks:
 
Reported: 2010-06-23 15:07 UTC by wingfire
Modified: 2017-05-20 10:22 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description wingfire 2010-06-23 15:07:44 UTC
Hi,
i try to send a mail merge with the Mail Merge Wizard but 0 of 0 e-mails are sent.

http://www.icef.com/ooo_bug/berlin_2010_visa_letter.ott
http://www.icef.com/ooo_bug/agent_visa.csv

Steps:
1. Open file berlin_2010_visa_letter.ott with a double click
2. Tools -> Mail Merge Wizard ...
3. Next -> E-mail message -> Next
4. Select Address List ... -> Add ... -> select and open agent_visa.csv ->
Character set = UTF-8 -> OK -> OK
5. Next -> Next -> Next
6. 34 Documents are created -> Next
7. Select Send merged document as E-Mail
8. Set To = c__email
   Subject = Test
   Send as = Adobe PDF
   Properties ... -> Write your mesaage here = test -> OK
9. Send documents
10. Transfer status: 0 of 0 e-mails sent and no more additional info.

Can someone reproduce this bug?
Is there a way to enable a debug log to get more output?

Kind regards
Christof
Comment 1 h.ilter 2010-06-24 11:14:49 UTC
@OS: Occurs with bugdoc but not with a new document.
So the workaround is to proceed at first with a new doc and then with the bugdoc.
Comment 2 Oliver Specht 2010-11-08 12:12:49 UTC
The code doesn't find the right pdf filter.
SfxFilterContainer::GetFilter4Extension("pdf", SFX_FILTER_EXPORT) only finds the
pdf import filter in FilterCache::getMatchingItemsByProps() and then
GetFilterForProps() doesn't return that because it cannot export. 
->as: Any idea why getMatchingItemsByProps() doesn't find the correct filter?

The call of GetFilter4Extensions() has been replaced for pdf by a filter
iteration in cws os144 in 
sw/source/ui/dbui/mmoutputpage.cxx
Comment 3 Oliver Specht 2010-11-17 13:20:05 UTC
Reassigned for verification
Comment 4 Oliver Specht 2010-11-18 13:49:08 UTC
*** Issue 115636 has been marked as a duplicate of this issue. ***
Comment 5 mcanonic 2010-11-18 13:55:41 UTC
Hi,
I have made many experiments in this issue and I quite sure there is a link
between "pdf creation" and "network configuration". As a matter of the fact,
doing the exact same things with the same setup I
see two different behaviours:
- at home, I can send my 226 emails
- at work, I cannot send, and the mailmerge does not say anything

One of the weird thing is that in the "sending status window" I can see:
"0 of 0 email sent". This is showed immediately, like OO does not even try to
connect to smtp server.

Of course, the test connection (tool->option->writer->mailmerge) works well in
both scenarios. Is there a way to debug this?
Comment 6 h.ilter 2010-11-24 17:15:44 UTC
Verified with cws os144 = ok