tracker issue : CF-4183676

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

Resolve CFC path like it would from a specific file

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/Workaround

Reporter/Name(from Bugbase): Alexandre Potvin Latreille / Alexandre Potvin Latreille (Alexandre Potvin Latreille)

Created: 08/24/2016

Components: Core Runtime

Versions: 11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win 2008 Server R2

Vote Count: 0

I'm facing a problem where I'm reconstituting an object graph based on component properties meta-data. Is there a way to resolve the fully qualified name of a component as it would be inside a cfc file from another context?



<cfimport path="somepath.Test">

    <cfproperty name="test" type="Test">

Inside SomeComponent.cfc Test will be resolved to somepath.Test because of the import, but when looking at the component's metadata that knowledge is lost and it seems there is no way to resolve that?

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

Watson Bug ID:	4183676

External Customer Info:
External Company:  
External Customer Name: Alexandre Potvin Latreille
External Customer Email:  
External Test Config: My Hardware and Environment details:



I figured a solution to this problem by using the underlying page object of a component:
Comment by External U.
1964 | August 24, 2016 05:05:40 PM GMT
Thanks Alexandre for logging this issue. I am closing this bug as there is a workaround available to this problem and it is not a very common use case.
Comment by Nimit S.
1965 | September 21, 2016 09:44:58 AM GMT