Issue 25875 - Ooo crash if I try to insert data using Memo[LONGCHAR] fields
Summary: Ooo crash if I try to insert data using Memo[LONGCHAR] fields
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 1.1.1b
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: christoph.lukasiak
QA Contact: issues@dba
URL:
Keywords:
: 29092 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-02-25 21:32 UTC by hwoarang
Modified: 2006-05-31 14:29 UTC (History)
2 users (show)

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


Attachments
My database that make Ooo crash (13.50 KB, application/octet-stream)
2004-03-04 20:06 UTC, hwoarang
no flags Details
my document to make tests with the database (5.33 KB, application/vnd.sun.xml.calc)
2004-03-04 20:08 UTC, hwoarang
no flags Details
1. part of the patch (5.01 KB, patch)
2004-05-13 11:25 UTC, ocke.janssen
no flags Details | Diff
2. part of the patch (838 bytes, patch)
2004-05-13 11:26 UTC, ocke.janssen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description hwoarang 2004-02-25 21:32:15 UTC
Hi.
I'm using my DataSource to modify some data in my database (MsAccess) but when 
I try to insert some data in a field Memo[LONGCHAR] the Ooo crash...

In my case what happened:
I have a .mdb database with a table with a some data... 
I made a filter in and drop to my Calc document...
I deleted the records shown by the filter...
I make some changes in some records (in Calc document) and then try to reinsert 
it in my table, making the drag and dropt into 'Tables' and choosing 'attach 
data'...
After some errors messages I notice that one field of my table is Memo
[LONGCHAR] (I can see ask the 'Edit Table') and notice that one record (in my 
Calc doc) have data that should be insert in the field Memo. So I remove the 
data and everything works...
So I think that the filed Memo[LONGCHAR] is causing the crash...

It easy to me reproduce here, so if you want that I post the crash report here 
or/and send my database to you, plz ask me...

Thanx

Hwoarang
Comment 1 christoph.lukasiak 2004-03-02 15:32:26 UTC
mine
Comment 2 christoph.lukasiak 2004-03-02 15:39:11 UTC
CLU->hwoarang: yes, please send report and add report id to this task - please
attach a data source if you think it could help to reproduce the task - please
write a step by step description (the shorter the better)

CLU: not to repro in current condition
Comment 3 christoph.lukasiak 2004-03-02 15:40:33 UTC
works fine for me - needs further investigation
Comment 4 hwoarang 2004-03-04 20:05:57 UTC
CLU:
Well, I'm attaching a database and a sxc file with some data to your make your 
tests...
try to insert the range data to the table... the Ooo will crash...

Like I said in issue #23992 the crash just happens if the table has a Memo field

Let me ask your one more thing, try to delete the query  "Consulta1" that exist 
in my database? 

Here I receive the error: "[Microsft][Driver ODBC for Microsoft Access] Sintaxy 
error in DROP TABLE or DROP INDEX."

thanx in advance.
Comment 5 hwoarang 2004-03-04 20:06:45 UTC
Created attachment 13579 [details]
My database that make Ooo crash
Comment 6 hwoarang 2004-03-04 20:08:24 UTC
Created attachment 13580 [details]
my document to make tests with the database
Comment 7 christoph.lukasiak 2004-03-10 10:37:33 UTC
CLU-> hwoarang: for your question: at the first look it seems to be a driver
problem, but here is not the right place for such things - one task one bug -
and for questions you better ask the community experts by using the mailing
lists   thx
Comment 8 christoph.lukasiak 2004-03-10 13:44:45 UTC
can repro
Comment 9 christoph.lukasiak 2004-03-10 14:02:39 UTC
CLU->OJ: i can repro that - your turn

short repro:
1. create a data source with attached data soure in attatches calc document
2. mark the calc table and d&d it on table container in database beamer
3. attatch data to bugtable & create
-> [Microsoft][ODBC Driver manager] Function Sequence error 
continue -> yes
=> crash
Comment 10 christoph.lukasiak 2004-03-10 15:09:24 UTC
set target
Comment 11 ocke.janssen 2004-05-13 11:23:14 UTC
Fixed in cws insight01
Comment 12 ocke.janssen 2004-05-13 11:25:19 UTC
Created attachment 15228 [details]
1. part of the patch
Comment 13 ocke.janssen 2004-05-13 11:26:10 UTC
Created attachment 15229 [details]
2. part of the patch
Comment 14 marc.neumann 2004-06-15 10:58:08 UTC
reopen
Comment 15 marc.neumann 2004-06-15 10:58:31 UTC
reassign
Comment 16 marc.neumann 2004-06-15 10:59:03 UTC
fixed in cws insight01 -> please verify
Comment 17 christoph.lukasiak 2004-06-16 15:36:46 UTC
cannot verify until issue 30345 is fixed
Comment 18 ocke.janssen 2004-06-29 08:04:21 UTC
*** Issue 29092 has been marked as a duplicate of this issue. ***
Comment 19 christoph.lukasiak 2004-07-06 15:28:57 UTC
CLU: d&d in beamer does not work in cws (issue 31151) - bug not to verify till
this is fixed
Comment 20 christoph.lukasiak 2004-07-07 14:32:09 UTC
CLU: d&d into beamer not more supported in new db ui concept

change repro: 2.mark the calc table and d&d it on the table container in
database document
Comment 21 christoph.lukasiak 2004-07-07 15:41:53 UTC
CLU->OJ: still crashes (in current cws: insight01) with small change in handling

crash report on the way: 
Comment 22 christoph.lukasiak 2004-10-04 13:52:39 UTC
clu->hwoarang: cannot repro anymore in current version, but a lot stuff changes,
so please acknowledge: http://download.openoffice.org/680/index.html
Comment 23 hwoarang 2004-10-04 21:58:07 UTC
hwoarang->clu:
thank you... but, the problem now is: "How to create a connection with my mdb
file in m54 release?"

I tried File -> New -> Database... nothing...
I tried View -> DataSources... nothing...

Where I can find instructins to make a connection with my mdb file ?

Thank you.
Hwoarang
Comment 24 ocke.janssen 2004-10-05 08:23:27 UTC
HI Hwoarang,

what do you mean with File->New -> Database nothing? 
Normaly a SaveAs dialog appears which forces you to save a database document.
After that a wizard like dialog appears (will be replaced in a later version)
which allows you to define the kind of connection you want like (Ado, ODBC,...).
For ODBC you have on the next page the browse button where you can select the
ODBC Data source you want to connect. 

The spec for the wizard can be found here
http://dba.openoffice.org/specifications/Wizard_Database.sxw
And the current format can be found here 
http://dba.openoffice.org/specifications/Data_Source_Property_Dialog.sxw

Best regards,

Ocke
Comment 25 hwoarang 2004-10-05 13:35:09 UTC
hwoarang->oj:
sorry, my fault...
I did´nt read the fully process to create a new connection...
I´ll make some tests today with data...
Thank you.
Hwo
Comment 26 ocke.janssen 2004-10-19 13:43:13 UTC
Please care for this one. Thx.
Comment 27 christoph.lukasiak 2004-11-30 14:39:25 UTC
described problem fixed
Comment 28 christoph.lukasiak 2004-11-30 14:41:08 UTC
verified in master (version m50 because of issue 38141)
Comment 29 christoph.lukasiak 2004-11-30 14:43:15 UTC
close