| Bug #45738 | routine object is deleted when its code is removed from routine-groups code | ||
|---|---|---|---|
| Submitted: | 25 Jun 2009 8:41 | Modified: | 26 Jun 2009 10:15 |
| Reporter: | Johannes Taxacher | Email Updates: | |
| Status: | Won't fix | Impact on me: | |
| Category: | MySQL Workbench | Severity: | S3 (Non-critical) |
| Version: | 5.1.14 | OS: | Any |
| Assigned to: | Sergei Tkachenko | CPU Architecture: | Any |
[26 Jun 2009 10:15]
Tony Bedford
The main documentation has been updated to clarify the behaviour. In addition a 'feature' entry was added to the 5.1.15 changelog, to ensure this was captured there too: A routine object was deleted if its code was removed from the routine group. This behavior has now been noted in the main documentation.

Description: when a routine is included in a group its code is displayed in the code editor of the routine group (along with all other routines/functions included in the group). if the routine-code is deleted from the routine-groups code-editor the routine-object is removed entirely from the document while it should only be removed from the group. How to repeat: - create a routine - create a group - drag routine into the group-editors routine-list to add it to the group - switch to routine-groups code editor ("routines-tab") - delete the code of the routine and wait a few seconds for the parser to kick in now WB removes the routine object from the "routines" section as well Suggested fix: only remove the routine from the group when its code is deleted in group editor