Bug #56626 wb snippets disappear and cause crash of wb
Submitted: 7 Sep 2010 18:35 Modified: 29 Sep 2010 16:15
Reporter: Michael Pridemore Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.27 OS:MacOS (10.5.x, 10.6.4)
Assigned to: Alfredo Kojima CPU Architecture:Any

[7 Sep 2010 18:35] Michael Pridemore
Description:
User Snippets disappear from the list if you navigate to one of the other snippet categories.

How to repeat:
1. When working in the SQL Editor go to the Snippets tab and create a snippet.
2. Then click the pull-down that shows "User Snippets" and select one of the other options.
3. Then click the pull-down again and select "User Snippets"

The snippet(s) you created do not show up. The list is blank.

4. At this point if you click the "Replace Active SQL" button the wb will crash.
[8 Sep 2010 14:18] Valeriy Kravchuk
Thank you for the bug report. Verified on Mac OS X 10.5.x.
[10 Sep 2010 6:03] Alfredo Kojima
I can repeat the crash (which has been fixed), but I can't get the part where the snippets disappear.
[18 Sep 2010 0:05] Johannes Taxacher
fix confirmed in repository
[29 Sep 2010 16:15] Tony Bedford
An entry has been added to the 5.2.28 changelog:

In the SQL Editor, a crash occurred if User Snippets was selected after another snippet collection had been selected, and then the Replace active SQL Editor contents with selected snippet button was clicked.