Bug #77838 Tables not re-sorting in the physical schema table list on the model page
Submitted: 26 Jul 2015 5:44 Modified: 26 Jul 2015 15:17
Reporter: Paul Weiss Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:6.3.4.0 OS:Windows (7 Home Premium SP 1)
Assigned to: CPU Architecture:Any
Tags: model, physical schema, sorting, tables

[26 Jul 2015 5:44] Paul Weiss
Description:
On the model page, in a physical schema, in the tables section, the tables are not sorting properly after a table is renamed. I have to close the model and reopen it for the sorting to be rectified.

This obviously isn't a huge deal, but I do rename tables frequently during the modeling phase, so fixing this would be helpful to me.

This appears to be related to (possibly a regression? of) the feature added for bug #47143. 

How to repeat:
1. In a model, rename a table (via the model page or the diagram page), prefixing it with "aa" or "zz" for example. The new table name displays properly in the table editor, in the diagram, and within the physical schema table list. And it is sorted properly in the catalog on the diagram page. However, the table list was not resorted.

2. Close the model, then reopen it. The physical schema table list is now properly sorted.

Suggested fix:
Have the physical schema table list resort immediately, as the catalog table list does.
[26 Jul 2015 5:50] Paul Weiss
Oops, sorry, the title should be: Tables not _re-sorted_ within physical schema on the model page.
[26 Jul 2015 7:17] Paul Weiss
Corrected the title.
[26 Jul 2015 15:17] MySQL Verification Team
Thank you for the bug report. Duplicate of http://bugs.mysql.com/bug.php?id=76211.