Bug 59204 - ODBC - data loss when editing mysql VARCHAR or CHAR fields using Actual Technologies ODBC driver
Summary: ODBC - data loss when editing mysql VARCHAR or CHAR fields using Actual Techn...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
(earliest affected) Master
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Database-Connectivity
  Show dependency treegraph
Reported: 2013-01-10 16:40 UTC by Alex Thurgood
Modified: 2017-07-11 07:52 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description Alex Thurgood 2013-01-10 16:40:56 UTC
See bug 59200 for a sample table.

The table described there had the following data displayed with the isql tool :
| type           | comments                                | action_type_id| chg_date           |
| A.94(3) EPC    | Normal examiner office action           | 1             | 0000-00-00 00:00:00|
| R.71(3) EPC    | Intention to grant communication        | 2             | 0000-00-00 00:00:00|
| R.51(6) EPC    | Notice of grant communication           | 3             | 0000-00-00 00:00:00|
SQLRowCount returns 3
3 rows fetched

1) I decided to edit the content of tuple number 3 in LO, removing the letter "n" from the word communication.

2) I then saved the change by moving up a row in the table view, or by clicking on the write to disk icon.

3) LO removes the whole character string back up to the first letter, and this change is saved to the database backend.

Comment 1 Alex Thurgood 2013-01-10 16:41:43 UTC
What should happen is that only the modified string should be saved, not more removed than was changed by the user.
Comment 2 Alex Thurgood 2013-01-10 16:43:17 UTC
Adding Lionel + Julien to CC
Comment 3 Alex Thurgood 2013-01-10 16:48:10 UTC
Should probably mention that we're talking about a mysql database connection via ODBC.

Comment 4 Julien Nabet 2014-12-20 18:15:14 UTC
Alex: on pc Debian x86-64 with LO Debian package 4.3.3, UnixOdbc 2.3.1-3, I don't reproduce this.

Any update with last stable LO version (4.3.5)?
Comment 5 Alex Thurgood 2015-01-03 17:40:50 UTC Comment hidden (no-value)
Comment 6 QA Administrators 2016-01-17 20:04:04 UTC Comment hidden (obsolete)
Comment 7 Alex Thurgood 2017-07-11 07:52:33 UTC
This is now WFM with

Build ID: f82d347ccc0be322489bf7da61d7e4ad13fe2ff3
Threads CPU : 4; Version de l'OS :Mac OS X 10.12.5; UI Render : par défaut; Moteur de mise en page : nouveau; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group

and Actual Technologies ODBC Driver 4.1.0