Look and feel Widgets throws an error

Description

When selecting widgets from the look and feel menu the following error is thrown.

Application Execution Exception
Error Type: Object : [N/A]
Error Messages: The getPluginName method was not found.
Either there are no methods with the specified method name and argument types or the getPluginName method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity.

Activity

Show:
Luis Majano
June 14, 2013, 5:20 PM

Andrew, this ocurrs when your widgets do not extend from the base widget, can you post your offending widget code

Andrew Scott
June 14, 2013, 6:20 PM
Edited
Andrew Scott
June 14, 2013, 6:32 PM

I have actually tracked it down to this section of code in ContentBox, in the widgetService.

And this actually appears to be a ColdFusion bug and not a ContentBox bug, in the function call directoryList it appears to filter on *.cfc however if the filename has an extension cfc1 then it is also picked up when logic says it shouldn't.

Luis Majano
June 14, 2013, 6:46 PM

Sneeky!

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com (http://www.ortussolutions.com/)
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org (http://www.coldbox.org/)
ContentBox Platform: http://www.gocontentbox.org (http://www.gocontentbox.org/)
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions (http://twitter.com/ortussolutions) | twitter.com/coldbox (http://twitter.com/coldbox) | twitter.com/lmajano (http://twitter.com/lmajano) | twitter.com/gocontentbox (http://twitter.com/gocontentbox)

Luis Majano
June 26, 2013, 3:14 AM

Duplicate of

Duplicate

Assignee

Luis Majano

Reporter

Andrew Scott

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure