Issue 123802 - Using parameter query in email mailmerge crashes the office
Summary: Using parameter query in email mailmerge crashes the office
Status: CONFIRMED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: 4.0.1
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2013-12-03 10:45 UTC by eberlein
Modified: 2013-12-29 15:03 UTC (History)
3 users (show)

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


Attachments
file to reproduce (4.00 KB, application/vnd.sun.xml.base)
2013-12-03 10:46 UTC, eberlein
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description eberlein 2013-12-03 10:45:53 UTC
To reproduce, store the .odb to your filesystem and open a new writer document.
Use "Edit"/"ExchangeDatabase" and select the .odb/queries/query1.
You must see it in the explorer (F4). If you choose the query then the parameter should be something like "2014/01/01" to get a resultSet.
Then do a mailmerge using eMail.
The office crashes.
Comment 1 eberlein 2013-12-03 10:46:45 UTC
Created attachment 82034 [details]
file to reproduce
Comment 2 Ariel Constenla-Haile 2013-12-05 14:31:02 UTC
Can be reproduced by creating a query in the default Bibliographic database, something like

SELECT "*" FROM "biblio" WHERE "Identifier" LIKE ?

On Linux it crashes due to uncaught SQL exception thrown in 
const ORowSetValue& ORowSetBase::impl_getValue(sal_Int32 columnIndex)
dbaccess/source/core/api/RowSetBase.cxx