Bug #71917 validation plugins are not working reliably
Submitted: 3 Mar 2014 16:57 Modified: 14 May 2014 4:48
Reporter: Johannes Taxacher Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:6.1.2 OS:Mac OS X
Assigned to: CPU Architecture:Any

[3 Mar 2014 16:57] Johannes Taxacher
Description:
when calling a model-validation-plugin on Mac on a non-empty document, only the first of the calls succeeds. All sub-sequent calls show an "Cannot execute db.plugin.wb.validate. Plugin requires unavailable argument value"-error.

How to repeat:
- open a new document (empty) 
- call Model->validation->Validate All (works as expected)
- call Model->validation (MySQL)->Validate All (works as expected)
- add a simple table to the model. e.g.:
    CREATE TABLE IF NOT EXISTS `mydb`.`test` (
      `id` INT(11) NOT NULL,
      PRIMARY KEY (`id`))
    ENGINE = InnoDB
- call Model->validation->Validate All (works as expected)
- call Model->validation (MySQL)->Validate All (fails with the following err message)
    Cannot execute db.mysql.plugin.wb.validate
    Plugin requires unavailable argument value

although it doesn't matter which of the two validation plugins is called in the last two steps - the first one will succeed and the second one will fail.
[3 Mar 2014 17:00] Johannes Taxacher
workbench log file

Attachment: wb.log (application/octet-stream, text), 2.71 KiB.

[2 May 2014 16:11] Johannes Taxacher
Posted by developer:
 
fix verified in build 6.1.6.11816
[14 May 2014 4:48] Philip Olson
Fixed as of the upcoming MySQL Workbench 6.1.6 release, and here's the changelog entry:

On Mac OS X, when a Model Validation Plugin was executed on a non-empty
document, only the first of the calls succeeded. All subsequent calls to
these plugins showed an "Cannot execute db.plugin.wb.validate. Plugin
requires unavailable argument value" error.

Thank you for the bug report.