Issue 23426 - API: sw.SwXMailMerge::XJob
Summary: API: sw.SwXMailMerge::XJob
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All Solaris
: P3 Trivial
Target Milestone: ---
Assignee: Mathias_Bauer
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 16:17 UTC by stephan.wunderlich
Modified: 2013-02-24 21:06 UTC (History)
1 user (show)

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


Attachments
bugdoc (5.26 KB, application/octet-stream)
2003-12-10 16:21 UTC, stephan.wunderlich
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description stephan.wunderlich 2003-12-10 16:17:24 UTC
Office crashes when for OutPutType com.sun.star.text.MailMergeType.PRINTER on
Solaris. This seems to work on Linux and Windows.

Execute the following macro to reproduce the behaviour (the mentioned
MailMerge.sxw is attached to this issue

Dim vXJobArg(0 to 6) as new com.sun.star.beans.NamedValue

Mailmerge = createUnoService("com.sun.star.text.MailMerge")

cTestDoc = "file:///home/MailMerge.sxw"
cDataSourceName  = "Bibliography"
cDataCommand = "biblio"

' use a simple DataBase with simple Table and write to printer
vXJobArg(0).Name = "DataSourceName" : vXJobArg(0).Value = cDataSourceName
vXJobArg(1).Name = "Command" : vXJobArg(1).Value = cDataCommand
vXJobArg(2).Name = "CommandType" : vXJobArg(2).Value =
com.sun.star.sdb.CommandType.TABLE
vXJobArg(3).Name = "OutputType" : vXJobArg(3).Value =
com.sun.star.text.MailMergeType.PRINTER
vXJobArg(4).Name = "FileNamePrefix" : vXJobArg(4).Value = "Author"
vXJobArg(5).Name = "FileNameFromColumn" : vXJobArg(5).Value = true
vXJobArg(6).Name = "DocumentURL" : vXJobArg(6).Value = cTestDoc

Mailmerge.execute(vxJobArg())
Comment 1 stephan.wunderlich 2003-12-10 16:21:47 UTC
Created attachment 11872 [details]
bugdoc
Comment 2 thomas.lange 2003-12-16 11:29:11 UTC
.
Comment 3 thomas.lange 2004-07-07 15:31:30 UTC
The stack for the crash is 

_waitid(0x0, 0x611f, 0xffbf86a0, 0x103, 0x0, 0x0)
_libc_waitpid(0x611f, 0xffbf878c, 0x100, 0xfffffff8, 0xffffffe0, 0xffbf87fd)
system(0xffbf8988, 0x200, 0x7e1b3860, 0x60e1, 0x6, 0xffbf93e0)
0x7e02b8ec(0x6, 0x7e1dbc18, 0x7e1c5814, 0x758, 0x400, 0x400)
0x7e02bcc0(0x6, 0x7, 0xa0, 0x1c, 0x0, 0x7e1c5814)
__sighndlr(0x6, 0x0, 0xffbf9a58, 0x7e02bc30, 0x0, 0x0)
call_user_handler(0x6, 0x0, 0xffbf9a58, 0x0, 0x0, 0x0)
sigacthandler(0x6, 0x0, 0xffbf9a58, 0x7fb38000, 0x7fa8ae78, 0x1)
---- signal handler SIGABRT (6) ----
__lwp_kill(0x0, 0x6, 0x5, 0x7fb38000, 0x7fa8ae78, 0x1)
raise(0x6, 0x6, 0xffbf9dd0, 0x14474, 0x7f9b0760, 0x1)
abort(0x7f9b4828, 0x7f9ca430, 0xd0898, 0x7f9b477c, 0x15000, 0x7f9b47fc)
__Cimpl::ex_unexpected(0xffbf9ee0, 0x7b8f4830, 0x7f9ca430, 0x800, 0x0, 0x1)
---- hidden frames ----
IMPL_SfxBaseController_CloseListenerHelper::queryClosing(0x6a8c5288, 0x4904,
0x1, 0x4800, 0x7f9ca478, 0x6a8c529c)
SfxBaseModel::close(0x6a9a12e0, 0x7b697374, 0x7b8f4b14, 0x0, 0xffbf9fcc, 0x1)
CloseModelAndDocSh(rxModel = CLASS, rxDocSh = CLASS)
DeleteTmpFile_Impl(rxModel = CLASS, rxDocSh = CLASS, rTmpFileURL = CLASS)
SwXMailMerge::execute(this = 0x6a9e1ef8, rArguments = CLASS)


TL->MBA: As stated the problem is
IMPL_SfxBaseController_CloseListenerHelper::queryClosing does not specify the
CloseVetoException.
Comment 4 Mathias_Bauer 2004-10-21 16:39:03 UTC
Fixed by DBO in valgrind57
Comment 5 Mathias_Bauer 2004-11-03 08:16:00 UTC
.