Bug #58358 query formatter fails on selected query
Submitted: 21 Nov 2010 11:56 Modified: 25 Nov 2010 14:14
Reporter: Giuseppe Maxia Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S1 (Critical)
Version:5.2.30 OS:Any
Assigned to: Alfredo Kojima CPU Architecture:Any

[21 Nov 2010 11:56] Giuseppe Maxia
Description:
if you write a query in the query editor and then select it (with the mouse), the query formatter fails with a unhandled exception on any call to beautify, uppercase or lowercase.

How to repeat:
1. open the SQL query editor
2. write down 'flush privileges'
3. select the query
4. invoke the beautifier or the keyword lowercase/uppercase function
[21 Nov 2010 18:16] Valeriy Kravchuk
Thank you for the bug report.
[22 Nov 2010 0:15] Alfredo Kojima
Bug #58358 is a duplicate
[22 Nov 2010 0:40] arnaud lemercier
Bug #58366 is a duplicate (With StackTrace)
[22 Nov 2010 12:49] Johannes Taxacher
Bug #58359 was marked as duplicate
[24 Nov 2010 15:41] Johannes Taxacher
fix confirmed in repository
[25 Nov 2010 14:14] Tony Bedford
An entry has been added to the 5.2.31 changelog:

In the SQL Editor, if a query was written in the SQL Query tab, and then highlighted using the cursor, the query formatter failed with an unhandled exception on calls to beautify, uppercase or lowercase functions.