Issue 37067 - Error message and GPF when moving a master form to the insertion row
Summary: Error message and GPF when moving a master form to the insertion row
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: 680m61
Hardware: All Windows XP
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2004-11-12 10:31 UTC by Frank Schönheit
Modified: 2006-05-31 14:29 UTC (History)
1 user (show)

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


Attachments
SQL script to generate the sample tables in a MySQL database (1.54 KB, text/plain)
2004-11-12 10:33 UTC, Frank Schönheit
no flags Details
sample database document (13.02 KB, application/octet-stream)
2004-11-12 10:34 UTC, Frank Schönheit
no flags Details
complete script (2.07 KB, text/plain)
2004-11-15 13:39 UTC, Frank Schönheit
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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