Issue 37067

Summary: Error message and GPF when moving a master form to the insertion row
Product: Base Reporter: Frank Schönheit <frank.schoenheit>
Component: codeAssignee: marc.neumann
Status: CLOSED FIXED QA Contact: issues@dba <issues>
Severity: Trivial    
Priority: P2 CC: issues
Version: 680m61Keywords: regression
Target Milestone: OOo 2.0   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
SQL script to generate the sample tables in a MySQL database
none
sample database document
none
complete script none

Description Frank Schönheit 2004-11-12 10:31:20 UTC
- import the attached SQL script into a MySQL database of your choice
- open the attached database document.
- adjust the connection (Edit|Database) settings so that it points to your MySQL
  database
- open the form "Interprets" in the database document for editing
- (if on the MySQL server, the database is named other than "bugs", you may need
  to adjust the table names in the form properties, which currently are
"bugs.interprets"
  and "bugs.albums")
- switch off the design mode of the form
- move the master form to the insertion row
=> error message "Invalid descriptor index"
- move the master form back to the last row
- move the master form to the insertion row, again
=> OOo crashes
Comment 1 Frank Schönheit 2004-11-12 10:33:21 UTC
Created attachment 19204 [details]
SQL script to generate the sample tables in a MySQL database
Comment 2 Frank Schönheit 2004-11-12 10:34:08 UTC
Created attachment 19205 [details]
sample database document
Comment 3 Frank Schönheit 2004-11-12 10:35:17 UTC
This is a regression compared to OOo 1.1.x
Comment 4 Frank Schönheit 2004-11-12 10:35:31 UTC
accepting
Comment 5 Frank Schönheit 2004-11-15 09:32:56 UTC
fs->oj: thanks for helping to balance my workload :) (you know the RowSet better
than me, anyway)

What I know so far is that the DatabaseForm seems to make everything right: when
the master form is moved to the insertion row, the detail form switches to
"InsertOnly" mode (and also to ResultSetConcurrency::READ_ONLY, but this
shouldn't matter here).
Comment 6 ocke.janssen 2004-11-15 12:56:38 UTC
.
Comment 7 Frank Schönheit 2004-11-15 13:39:54 UTC
Created attachment 19318 [details]
complete script
Comment 8 ocke.janssen 2004-11-16 09:20:01 UTC
Fixed in cws dbabetap2
Comment 9 Frank Schönheit 2004-11-18 11:55:45 UTC
re-opening for reassignment to QA
Comment 10 Frank Schönheit 2004-11-18 11:56:02 UTC
fs->msc: please verify in CWS dbabetap2
Comment 11 Frank Schönheit 2004-11-18 11:56:18 UTC
fixed in CWS dbabetap2
Comment 12 marc.neumann 2004-11-18 15:09:06 UTC
verified in cws dbabetap2
Comment 13 marc.neumann 2005-04-07 08:31:38 UTC
Hi,

fixed in current developer build -> close.
The current developer build can be found at
http://download.openoffice.org/680/index.html
Feel free to reopen if this issue is not fixed in the developer build.

Bye Marc