Bug #75305 Opening Model with Mysql Workbench on console requires full path
Submitted: 24 Dec 2014 12:37 Modified: 19 Jan 2017 18:37
Reporter: m s Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.2.4 OS:Windows
Assigned to: CPU Architecture:Any

[24 Dec 2014 12:37] m s
Description:
I played around with the console options for workbench and I wonder why is it not possible to open a model with a relative path?

How to repeat:
C:\xampp\htdocs\armonico>MySQLWorkbench -model dbModel.mwb
and
C:\xampp\htdocs\armonico>MySQLWorkbench -model ./dbModel.mwb

gives me the following error:
Cannot open document 'dbModel.mwb'
Could not open file dbModel.mwb: No such file or directory

C:\xampp\htdocs\armonico>MySQLWorkbench -model "C:\xampp\htdocs\armonico\dbModel.mwb"

works fine. 

Suggested fix:
Would it be possible to change that behavior so that opening a model is possible with a relative path, too?
[24 Dec 2014 13:28] MySQL Verification Team
Thank you for the bug report. On Linux works.
[6 May 2015 9:15] Marcin Marek
I am not able to reproduce it with 6.2.5/6.3.3 GA releases. Please check with latest 6.3.3 and if you are still having issue then provide exact model file and complete error log.
[19 Jan 2017 18:37] Christine Cole
Posted by developer:
 
Fixed as of the upcoming Workbench 6.3.9 release, and here's the changelog entry:

Starting MySQL Workbench from the command line with an optional argument
of a script or model file required the absolute (or fully qualified) path
name of the file.

Thank you for the bug report.