To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=116271
                 Issue #|116271
                 Summary|MailMerge from macro stops working after a few days. R
                        |estart helps.
               Component|Word processor
                 Version|OOo 3.2.1
                Platform|Unknown
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|save-export
             Assigned to|writerneedsconfirm
             Reported by|hark123





------- Additional comments from hark...@openoffice.org Fri Dec 31 15:26:17 
+0000 2010 -------
I have a mail merge macro that I use for years already. It merges documents and
stores the output to PDF. Recently I upgraded to OOo 3.2.1. The macro still
works fine, but after some big merges it stops working. OOo just quits without
writing the PDF's. Probably it just exists too fast, without waiting for the
PDF's to be written. OOo itself works fine, it's only the mail merge that's
broken. After a reboot of the server it works again. I have reproduced this
behaviour several times on several healthy servers.

This is the part in my macro that does the mail merge:

  'Do the mail merge
  oMerge = createUnoService('com.sun.star.text.MailMerge')
  oMerge.DataSourceName = 'data_' & id
  oMerge.DocumentURL = sDocFile
  oMerge.CommandType = com.sun.star.sdb.CommandType.TABLE
  oMerge.Command = sSheetName
  oMerge.OutputType = com.sun.star.text.MailMergeType.FILE

  oMerge.OutputURL = sOutFile
  oMerge.FileNameFromColumn = true
  oMerge.FileNamePrefix = sNumberColumn
  oMerge.SaveFilter = 'writer_pdf_Export'

I don't have any clue where the problem is, I only know that the macro works
very well, but that after a few big merges it breaks on every servers I try it
on with the new version 3.2.1.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to