Ticket #260 (closed defect: worksforme)

Opened 19 years ago

Last modified 19 years ago

ModelGlue_CONFIG_PATH not working in Unity

Reported by: nando Owned by: somebody
Priority: normal Milestone: 2.0 Beta 2
Version: 2.0.304 Severity: normal
Keywords: Cc:

Description

I apparently was using an "old" template for index.cfm:

<!---

If your path to ColdSpring?.xml is custom, change it here. Otherwise, it will default to Config/ColdSpring.xml

<cfset ModelGlue?_CONFIG_PATH = expandPath(".") & "/config/ColdSpring.xml" />

--->

I was trying to move the coldspring.xml off the webroot by setting this variable in index.cfm. ModelGlue? couldn't find it using ModelGlue?_CONFIG_PATH.

Cracked open ModelGlue?.cfm to see what was going on. It says in there

<!--- This only exists to support legacy applications. --->

<cfparam name="ModelGlue?_CONFIG_PATH" type="string" default="" />

Well, this doesn't seem to work.

Replaced ModelGlue?_CONFIG_PATH with ModelGlue?_LOCAL_COLDSPRING_PATH and it worked for me.

Nando d.nando@…

Change History

Changed 19 years ago by joe.rinehart

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

Yeah, the "old" mg:u templates would have issues with that, but it should all be working properly now.

Note: See TracTickets for help on using tickets.