Ticket #405 (new defect) — at Version 1

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 (last modified by cfgrok) (diff)

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

Changed 16 years ago by cfgrok

  • description modified (diff)

I have not been able to replicate this issue -- are you able to provide a test case that demonstrates the problem?

Also, just to clarify the version of Model-Glue that you are using, are you referring to the latest SVN revision of the version 3 (Gesture) codebase? What version of ColdSpring are you running?

Note: See TracTickets for help on using tickets.