Issue 43526 - Copy and Paste of text data in mysql db table crashes OOo
Summary: Copy and Paste of text data in mysql db table crashes OOo
Status: CLOSED DUPLICATE of issue 44333
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 2.0 Beta
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords: crash, oooqa
Depends on:
Blocks:
 
Reported: 2005-02-25 09:44 UTC by alex.thurgood
Modified: 2006-05-31 14:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description alex.thurgood 2005-02-25 09:44:58 UTC
Hi,

Open up a mysql linked ODB document. Click on the Tables button, then navigate
the hierarchy of tables (table tree view). Double click on a table to display
the data.

Navigate to any cell in the table containing text in a VARCHAR field. Press
Ctrl-Del to cut the data, then navigate to another VARCHAR field of equal or
greater length. Press Ctrl-Ins.

Move up one row. Attempt to repeat the operation. OOo segfaults and dies.


This is repeatable.

Using m77, and MyODBC 3.51.09.
Comment 1 alex.thurgood 2005-02-25 09:56:02 UTC
setting oooqa keyword
Comment 2 alex.thurgood 2005-02-25 09:58:42 UTC
setting crash keyword
Comment 3 marc.neumann 2005-02-28 12:51:14 UTC
correct prio to 3

see http://www.openoffice.org/scdocs/ddIssues_EnterModify.html#priority for details.
Comment 4 alex.thurgood 2005-02-28 14:02:01 UTC
hi,

P3 says that it crashes only in exception circumstances. I see nothing
exceptional about the circumstances I have described. This should be at least
P2, but I set it to P1 because it means you can not test the module's
functionality completely. Filling in data in the way described is basic
functionality of the dba module, or ins't it ?

alex 
Comment 5 Frank Schönheit 2005-03-04 14:10:58 UTC
cannot reproduce - Alex, do you mind attaching a mysqldump of the table in question?
Comment 6 alex.thurgood 2005-03-10 21:45:20 UTC
Just tried with beta 2.0 and MyODBC 3.51.11

Problem still occurs. Enclosing sql create statement, and the table only
contains one row of data. If I try copying a value from one column to another of
the same type in the same row, then hit the Cursor Down key, OOo crashes.
Repeatable.

CREATE TABLE `test_oa_calcul` (
  `action_id` int(10) unsigned NOT NULL auto_increment,
  `action_type_id` tinyint(3) unsigned NOT NULL default '0',
  `action_date` date NOT NULL default '0000-00-00',
  `time_limit` tinyint(4) default NULL,
  `final_date` date default '0000-00-00',
  `add_period` tinyint(4) default NULL,
  `new_final_date` date default NULL,
  `case_id` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`action_id`)
) TYPE=MyISAM

Single Data row :
 select * from test_oa_calcul;
+-----------+----------------+-------------+------------+------------+------------+----------------+---------+
| action_id | action_type_id | action_date | time_limit | final_date |
add_period | new_final_date | case_id |
+-----------+----------------+-------------+------------+------------+------------+----------------+---------+
|         1 |              1 | 2003-04-24  |          4 | NULL       |         
4 | NULL           |       2 |
+-----------+----------------+-------------+------------+------------+------------+----------------+---------+



alex
Comment 7 Frank Schönheit 2005-03-15 09:53:58 UTC
reproducible. Hmm, me thinks I didn't try Linux before (sorry, I tend to
overlook the "OS" field :-\ )
Comment 8 Frank Schönheit 2005-03-15 09:54:34 UTC
accepting
Comment 9 Frank Schönheit 2005-03-15 12:19:58 UTC
duplicate of issue 44333. Though the table structures are different, the fix for
issue 44333 also fixes this one here.

*** This issue has been marked as a duplicate of 44333 ***
Comment 10 Frank Schönheit 2005-03-15 14:09:49 UTC
re-opening for verification by QA
Comment 11 Frank Schönheit 2005-03-15 14:11:14 UTC
fs-> msc: please verify in CWS dba25
Comment 12 Frank Schönheit 2005-03-15 14:12:46 UTC
fixed in CWS dba25

*** This issue has been marked as a duplicate of 44333 ***
Comment 13 marc.neumann 2005-03-16 12:18:14 UTC
hi,

verified in cws dba25

Bye Marc
Comment 14 marc.neumann 2005-05-11 13:11:09 UTC
close duplicate