Bug #121238 Deleting two table columns consecutively in the graphical editor without clicking Apply in between.
Submitted: 6 Sep 16:03
Reporter: VENKAT KANNEGANTI Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:8.0 OS:Windows (windows 11)
Assigned to: CPU Architecture:Any

[6 Sep 16:03] VENKAT KANNEGANTI
Description:
MySQL Workbench crashes with an "External component has thrown an exception" error when attempting to delete multiple columns consecutively in the visual Table Editor before applying changes.

How to repeat:
open any database table in the visual editor (Right-click table > Alter Table).

Right-click on a column row and choose "Delete Selected".

Immediately right-click another column row and select "Delete Selected" without clicking "Apply" in between.

MySQL Workbench crashes with a popup stating: "MySQL Workbench has encountered a problem - External component has thrown an exception."

Suggested fix:
Properly handle UI grid row removal state in the table editor to prevent unhandled exceptions prior to committing changes via Apply.