Bug #76521 SQL scripts attached to a model not shown and not included in forward engineer
Submitted: 28 Mar 2015 21:41 Modified: 29 Mar 2015 0:06
Reporter: Oracle The Great Email Updates:
Status: Verified Impact on me:
Category:MySQL Workbench: Modeling Severity:S1 (Critical)
Version: Build 397 (64 Bit) OS:Microsoft Windows (7 Home Premium (64 Bit))
Assigned to: CPU Architecture:Any

[28 Mar 2015 21:41] Oracle The Great
If I add a script in "Model Overview - SQL scripts", click save, close the script and reopen it, it is always empty.
However the script file is obviously saved on my disk.
It is not in included in the SQL generated when forward engineering, there only appears an empty section labelled with the script's name.

Clicking "Apply Changes" is not possible.

How to repeat:
See above.

[29 Mar 2015 0:06] MySQL Verification Team
Thank you for the bug report.
[4 Apr 2015 21:20] Mike Ko
I have the same problem. I made a script inside a model, which I'm updating quite often as a git on few computers (win 7 32bit, win server 2008 64bit). Few days ago I bought new laptop with Win 7 64bit and as I open the script on this computer and do some changes, the apply and discard buttons stay disabled. Everything else I tried seems to be working fine.
[13 Nov 2015 23:36] marko milanovic
I also have the same problem. On my office computer I have no problems with Workbench. I have a Windows 10 64bit, both home and at work.
Recently I had to copy HtmlRenderer.dll to a Workbench directory, as described in some other bug report (add tag later). After that problem, which prevented me from starting a connection to the dev-server, I had the need to change the model and attached script (which inserts mock data) and noticed the problem.
I cannot claim that the problem is related, as I had no need to change the script before.