Ticket #405 (closed defect: invalid)

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>

Attachments

patch.txt (0.5 kB) - added by nickel4242 16 years ago.
Patch

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?

Changed 16 years ago by nickel4242

I think it was an older version of ColdSpring?. I updated ColdSpring? at the same time I made the access="public" change, so perhaps that is what fixed it. You can "wontfix" or "invalid" this ticket.

Changed 16 years ago by cfgrok

  • status changed from new to closed
  • resolution set to invalid

OK, I'll close the ticket. Thank you for taking the time to respond, the feedback is much appreciated.

Note: See TracTickets for help on using tickets.