Issue 110942

Summary: Dataview and Grid controls display error with Sqlite ODBC driver
Product: Base Reporter: eziomartello <martelozzo1>
Component: codeAssignee: marc.neumann
Status: CLOSED FIXED QA Contact: issues@dba <issues>
Severity: Trivial    
Priority: P2 CC: issues, mechtilde, vitriol_vitriol
Version: OOO320m15   
Target Milestone: OOo 3.2.1   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 109046    
Attachments:
Description Flags
Data Base document with form
none
Screenshot OOo 3.2 - Correct result
none
Screenshot OOO320m15 - Bug
none
data view window - no filter none

Description eziomartello 2010-04-16 12:16:34 UTC
Bug in filtered table controls with Sqlite ODBC driver.

Found in OOO320m15 Regression.

Steps to reproduce:
- Unzip attached folder.
- Must be administrator
- In xp install SQLITE ODBC driver with the file sqliteodbc.exe
- Open the document 'Connect.odt' and push the button 'Connect' (This operation
automatically creates a DSN and registers DataBase)
- Close the document
- Open the document 'RicettarioOOo.odt'
- modify the ComboBox field (This operation, using a macro, changes the filter
of the table field)
- Bug: the table records are all the same
- I don't know if the problem is in all ODBC connections.


Thank you.
Comment 1 eziomartello 2010-04-16 12:18:30 UTC
Created attachment 68965 [details]
Data Base document with form
Comment 2 eziomartello 2010-04-16 12:19:48 UTC
Bug in filtered table controls with Sqlite ODBC driver.

Found in OOO320m15 Regression.

Steps to reproduce:
- Unzip attached folder.
- Must be administrator
- In xp install SQLITE ODBC driver with the file sqliteodbc.exe
- Open the document 'Connect.odt' and push the button 'Connect' (This operation
automatically creates a DSN and registers DataBase)
- Close the document
- Open the document 'RicettarioOOo.odt'
- modify the ComboBox field (This operation, using a macro, changes the filter
for the table field)
- Bug: the table records are all the same
- I don't know if the problem is in all ODBC connections.


Thank you.
Comment 3 vitriol 2010-04-16 12:30:44 UTC
It's a regression from 3.2
Comment 4 tommy27 2010-04-16 18:48:07 UTC
clearly a regression
Comment 5 vitriol 2010-04-16 20:52:39 UTC
Created attachment 68968 [details]
Screenshot OOo 3.2 - Correct result
Comment 6 vitriol 2010-04-16 20:53:41 UTC
Created attachment 68969 [details]
Screenshot OOO320m15 - Bug
Comment 7 drewjensen.inbox 2010-04-16 21:29:56 UTC
Checking w/ OOO320m_15 (build:9492) under Vista (home)

Installed the odbc driver - the data is displayed incorrectly, repeating a
single record in both Dataview windows and Form Grid controls.

With this build (this one is the special build from today) filters are not the
problem - in fact if you apply an autofilter to the dataview it seems to be the
only way to get an accurate result. No such luck with form grid controls it seems.

see attached screen shot of dataview window.

set target to 3.2.1
Comment 8 drewjensen.inbox 2010-04-16 21:31:57 UTC
Created attachment 68970 [details]
data view window - no filter
Comment 9 drewjensen.inbox 2010-04-16 21:34:08 UTC
Altering summary to reflect change
Comment 10 tommy27 2010-04-17 04:40:49 UTC
is this issue a 3.2.1 stopper now?
Comment 11 drewjensen.inbox 2010-04-18 16:18:15 UTC
@tommy27 - I only set the initial Target Milestone, the release team determines
when an issue is or isn't a show stopper, after input from the developer, for a
particular issue. A request for them to treat as such is already posted to that
mailing list.
Comment 12 ocke.janssen 2010-04-19 08:41:06 UTC
The fix is easy. I just read the best row identifiers for the table but I had no
fallback when the columns returned are not part of the reference result set.
Comment 13 tommy27 2010-04-19 12:11:25 UTC
this issue has been officially accepted as a 3.2.1 stopper
Comment 14 ocke.janssen 2010-04-19 12:20:48 UTC
Fixed in cws dba321b
Comment 15 ocke.janssen 2010-04-19 12:25:37 UTC
Please verify. Thanks.

To verify it, it is enough to open just the table.
Comment 16 marc.neumann 2010-04-21 08:42:53 UTC
verified in cws dba321b
Comment 17 Mechtilde 2010-07-19 18:50:10 UTC
please checked with OpenOffice.org 3.2.1