Bug #26753 regex button enabled when empty, non translated error
Submitted: 1 Mar 2007 16:40 Modified: 27 Apr 2007 8:45
Reporter: Martin Friebe (Gold Quality Contributor) (OCA) Email Updates:
Status: Closed Impact on me:
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.2.9rc OS:Windows (Windows XP)
Assigned to: CPU Architecture:Any
Tags: qc, regex

[1 Mar 2007 16:40] Martin Friebe
Start the query browser and open the reg-ex window (select in tool menu) the button.

The buttons "Execute RegEx" and "Execute Next" are both enabled.
But no regex is entered into the text field.

Pressing either button, will display the internal error msg:
TRegExp(exec): Not Assigned Expression Property

Instead of a proper localized error.

How to repeat:
see above

Suggested fix:
the buttons should not be enabled, since the field is empty.

The exception should be translated into a proper error msg.
[1 Mar 2007 21:26] Valeriy Kravchuk
Thank you for a bug report. Verified just as described.
[27 Apr 2007 8:45] Michael G. Zinner
The RegEx importer is a community feature that is not supported officially.