Bug #67238 | Crash when pasting text in Edit Data window and applying the change | ||
---|---|---|---|
Submitted: | 15 Oct 2012 17:17 | Modified: | 29 Oct 2012 15:40 |
Reporter: | James Fetzner | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Workbench | Severity: | S2 (Serious) |
Version: | 5.2.41 | OS: | Windows (Microsoft Windows 7 Ultimate Edition Service Pack 1 (build 7601), 64-bit) |
Assigned to: | CPU Architecture: | Any | |
Tags: | WBBugReporter |
[15 Oct 2012 17:17]
James Fetzner
[15 Oct 2012 17:35]
MySQL Verification Team
Please try version 5.2.44. Thanks.
[15 Oct 2012 20:01]
James Fetzner
I have tried this now using v5.2.44 and same crash occurs. Basically, I have a longtext field in the table which is encoded utf-8. I sometimes have a problem where the values in the field are not encoded properly (e.g., â€oe instead of "), so I'm trying to update the field so it display correctly on the webpage. Some of the text can be long, so if I right click on the cell and select "Open Value in Editor" it opens in a bigger window so I can more easily do an edit. If I open the field and then just click Apply (no edits done), it crashes. If I edite the â€oe's to " and Apply, it crashes. So I do not seem to be able to edit these records. The workbench app does not tell me what error has occurred, just that it crashed and to submit a bug report. So I'm not sure what is actually causing the problem. For example, here is the first line of text from one record: Line 27: Common name of “red swamp crayfish†should be changed to “red swamp crawfish†to conform with accepted common names, revise throughout text When trying to save it as: Line 27: Common name of "red swamp crayfish" should be changed to "red swamp crawfish" to conform with accepted common names, revise throughout text it crashes. I tried doing this in the cell of the table (not the editor window), and got this error: ERROR 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '27: Common name of “red swamp crayfish†should be changed to “' at line 1 SQL Statement: UPDATE `iaamanuscripttracking`.`reviews` SET `CommentsForAuthor`=Line 27: Common name of “red swamp crayfish†should be changed to “red swamp crawfish†to conform with accepted common names, revise throughout text WHERE `RID`='302' Is it a problem that the text string does not have quotes around it? Shouldn't these automatically be added when applying changes? Interestingly, if I add single quotes at both ends of the text string in the cell, the save operation completes successfully. Any ideas? Thanks!
[29 Oct 2012 14:10]
Ruben Dario Morquecho Valdez
Could you please share table details in order to reproduce it? Thanks.
[29 Oct 2012 15:40]
Ruben Dario Morquecho Valdez
Could you please share table details in order to reproduce it? Thanks.