tracker issue : CF-3184303

select a category, or use search below
(searches all categories and all time range)
Title:

REST services cannot make use of Application-specific mappings

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce

Reporter/Name(from Bugbase): Adam Tuttle / Adam Tuttle (Adam Tuttle)

Created: 05/07/2012

Components: REST Services

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Public Beta /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Mac 10.7 64-bit

Vote Count: 0

Problem Description:

From the Stacktrace:

Caused by: coldfusion.runtime.CfJspPage$NoSuchTemplateException: Could not find the ColdFusion component or interface model.sessions.

Where "/model" is an application-specific mapping.


Steps to Reproduce:

Application.cfc:

this.mappings["/model"] = expandPath('../_model');

In a REST cfc:

variables.myClass = createObject("model.myClass");


Actual Result:

REST service fails to refresh; error displayed in exception log.


Expected Result:

Application-specific mapping used to find specified cfc.

Any Workarounds:

Use fully qualified CFC path or server-level mapping.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3184303

External Customer Info:
External Company:  
External Customer Name: Adam.Tuttle
External Customer Email:  
External Test Config: My Hardware and Environment details:



OSX 10.7.3

Apache 2.2

Attachments:

  1. September 10, 2012 00:00:00: 1_3184303.rar

Comments:

It's worth noting that they seem to be able to use an application-specific datasource (this.datasource). If they have access to the dsn, why not the mappings?
Comment by External U.
19502 | May 07, 2012 09:51:08 PM GMT
This behavior is not reproducible so closing it. Customer's email-id was not provided and hence was not able to mail him. Also attaching a zip file which contains a test case. This test case has been written as specified in the bug but it's working properly.
Comment by Milan C.
19503 | September 10, 2012 09:09:52 AM GMT