Home| faqs| resources| exchange| about
Previous Posts
Log In
Username:

Password:
 
Forgot your password?
Register now >>
Sponsored by
Tracking Tools

On the bookshelf... Bookshelf unavailable

Powered with CFMX

Tuesday, November 02, 2004

Mach-II Bug, plugin configure() execution order

Originally blogged by Doug Hughes, there is a bug in Mach-II v1.0.10 where the configure methods of plugins are not executed in the order the plugins are declared. According to Sean, PluginManager.configure() should look like this:

<cffunction name="configure" access="public" returntype="void" output="false">
          <cfset var aPlugin = 0 />
          <cfset var i = 0 />
          <cfloop index="i" from="1" to="#variables.nPlugins#">
               <cfset aPlugin = variables.pluginArray[i] />
               <cfset aPlugin.configure() />
          </cfloop>
     </cffunction>


0 Comments:

Post a Comment

<< Home