Ticket #405 (new defect) — at Initial Version

Opened 16 years ago

Last modified 16 years ago

setModelGlue method in modelglue.gesture.viewrenderer needs to have access="public"

Reported by: nickel4242 Owned by:
Priority: normal Milestone: 3.2
Version: Severity: normal
Keywords: Cc:

Description

I had an error today in a Model-Glue 2.0 app when upgrading to the SVN version. ColdSpring? could not find the setModelGlue method in the ViewRenderer?.cfc file.

I will attach a patch, but its as easy as adding access="public" to the method so it reads as:

<cffunction name="setModelGlue" access="public" output="false" hint="Sets the MG instance to use.">

<cfargument name="modelGlue" required="true" type="ModelGlue?.gesture.ModelGlue?" />

<cfset variables._modelGlue = arguments.modelGlue />

</cffunction>

Change History

Changed 16 years ago by nickel4242

Patch

Note: See TracTickets for help on using tickets.