Issue 100949

Summary: Error: ORowSetBase::getValue: Illegal call here (we're before first or after last)!
Product: Writer Reporter: ocke.janssen
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: DEV300m45   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description ocke.janssen 2009-04-08 10:54:38 UTC
- Do a mail merge with a database which has table with no data.

The problem is in file mmconfigitem.cxx:1016

m_pImpl->xResultSet->first();

which should be replaced with

if ( m_pImpl->xResultSet->first() )
                    m_pImpl->nResultSetCursorPos = 1;
=> Assertion
---------------------------
Debug Output
---------------------------
Error: ORowSetBase::getValue: Illegal call here (we're before first or after last)!
From File D:\src\cws\dba32b\dbaccess\source\core\api\RowSetBase.cxx at Line 259
Abort ? (Yes=abort / No=ignore / Cancel=core dump)
---------------------------
Yes   No   Cancel   
---------------------------
Comment 1 Oliver Specht 2009-09-30 09:30:20 UTC
Target changed to 3.x
Comment 2 Marcus 2017-05-20 11:17:58 UTC
Reset assigne to the default "issues@openoffice.apache.org".