Issue 123802

Summary: Using parameter query in email mailmerge crashes the office
Product: Base Reporter: eberlein <pet.ebe>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: issues, pescetti, pet.ebe
Version: 4.0.1Keywords: crash
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
file to reproduce none

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)