Bug #34134 Erroneous Duplicate plugin name warning message
Submitted: 29 Jan 2008 14:36 Modified: 28 Mar 2008 17:55
Reporter: John Yodsnukis (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.12 OSS Beta Revision 2434 OS:Windows (XP SP2)
Assigned to: Mike Lischke CPU Architecture:Any

[29 Jan 2008 14:36] John Yodsnukis
Description:
When creating a local plugin for WB in the .\plugins subdirectory (of the same directory as 'MySQLWorkbench.exe'). in the Output window, right pane:

Looking for user plugins in C:\Documents and Settings\User0\Application Data\MySQL\Workbench\modules
Registered 10 modules (from 8 files).
WARNING: Duplicate plugin name wb.util.copySQLToClipboard
    There is more than one plugin with the name wb.util.copySQLToClipboard.
Using software rendering.

How to repeat:
Move the file catalog_utils.grt.lua from .\modules to .\plugins and start WB.

Press Ctrl-F2.  Read Output windows.

Suggested fix:
Don't scan the .\plugins subdirectory twice.
[29 Jan 2008 20:22] MySQL Verification Team
Thank you for the bug report.
[17 Mar 2008 17:33] Mike Lischke
fixed in rev 2776
[18 Mar 2008 18:22] Johannes Taxacher
fixed as described by developer
[28 Mar 2008 17:44] MC Brown
A note has been added to the 5.0.16rc changelog: 

Copying an existing module to the plugins directory would trigger a double registration of the modulem, and produce an error.
[28 Mar 2008 17:55] John Yodsnukis
copying should produce an error, but moving should not.  I'm not sure why that note is needed in the changelog.