Bug #62140 Mforms View class has set_enabled but no equivalent getter
Submitted: 10 Aug 2011 16:53 Modified: 9 Jan 2015 10:21
Reporter: Karsten Wutzke Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.30, 5.2.34 OS:Any
Assigned to: CPU Architecture:Any
Tags: mforms, VIEW

[10 Aug 2011 16:53] Karsten Wutzke
Description:
According to

http://wb.mysql.com/workbench/doc/mforms/classmforms_1_1_view.html

the View class has a set_enabled method but no equivalent is_enabled method.

How to repeat:
Any view component call to

view = Selector()
isEn = view.is_enabled()

will cause an exception to be thrown.

Suggested fix:
Implement this very basic method!
[10 Aug 2011 17:05] Valeriy Kravchuk
Thank you for the bug report.
[14 Oct 2011 13:53] Karsten Wutzke
New URL:

http://mysqlworkbench.org/workbench/doc/mforms/classmforms_1_1_view.html
[21 Nov 2011 5:53] Philip Olson
Fixed as of 5.2.35:
+        The <literal>is_enabled()</literal> method was added to the
+        mforms View class.
[18 Jan 2012 7:50] Karsten Wutzke
Fixed? Please update the status reflecting that and update the docs, too. Thanks.