in ObjectFactory.cfc, starting at line 260, I made this change:
<cfelseif NOT componentExists(result.project)>
<CFDUMP var="#result.project#"> <!--- new line --->
<CFABORT> <!--- new line --->
<cfthrow type="reactor.objectFactory.getObjectDetails.NotAllFilesExist"
/>
</cfif>
This debug code/cfdump spit out:
reactor.project.Surveys.Gateway.SurveyGateway
So, I added this code to our project's top-level Application.cfm:
<cfset theMissingCFC =
CreateObject("component","reactor.project.Surveys.Gateway.SurveyGateway")>
<CFDUMP var="#theMissingCFC#">
<CFABORT>
Which spit out my object (see below).
It's there, it's accessible. Reactor can't see it. If i delete the entire
project directory under reactor, Reactor will go so far as to GENERATE that
file, and then claim it's not there! When I let it generate the file, my
above test still returns my object, so the file it's generating is good...
WTF?? Confusion. I'm starting to think there's a real bug here
specifically in Reactor. I wish I hadn't downloaded the latest version from
SVN -- I should have made note of what version I was at, so I could roll
back.
component reactor.project.Surveys.Gateway.SurveyGateway
<http://surveys.supermarketguru.com/CFIDE/componentutils/CFCExplorer.cfc?met
hod=getcfcinhtml&name=reactor.project.Surveys.Gateway.SurveyGateway>
CREATEQUERY
function createQuery
Arguments: none
Return Type: any
Roles:
Access: public
Output: false
GETLASTEXECUTEDQUERY
function getLastExecutedQuery
Arguments: none
Return Type: any
Roles:
Access: public
Output: false
DELETEBYQUERY
function deleteByQuery
Arguments:
Name Required Type Default
Query Required any
Return Type: void
Roles:
Access: public
Output: false
_SETCONVENTION
function _setConvention
Arguments:
Name Required Type Default
convention Required any
Return Type: void
Roles:
Access: public
Output: false
DELETEALL
function deleteAll
Arguments: none
Return Type: void
Roles:
Access: public
Output: false
DELETEBYFIELDS
function deleteByFields
Arguments:
Name Required Type Default
surveyPK Optional any
SERVER_NAME Optional any
surveyName Optional any
isOnline Optional any
crd Optional any
lmd Optional any
lmb Optional any
Return Type: void
Roles:
Access: public
Output: false
_GETBEAN
function _getBean
Arguments:
Name Required Type Default
name Required any
Return Type: any
Roles:
Access: public
Output: false
GETALL
function getAll
Arguments:
Name Required Type Default
sortByFieldList Optional any [empty string]
Return Type: any
Roles:
Access: public
Output: false
_GETSIGNATURE
function _getSignature
Arguments: none
Return Type: any
Roles:
Access: public
Output: false
_SETBEANFACTORY
function _setBeanFactory
Arguments:
Name Required Type Default
beanFactory Required any
Return Type: void
Roles:
Access: public
Output: false
GETBYFIELDS
function getByFields
Arguments:
Name Required Type Default
surveyPK Optional any
SERVER_NAME Optional any
surveyName Optional any
isOnline Optional any
crd Optional any
lmd Optional any
lmb Optional any
sortByFieldList Optional any [empty string]
Return Type: any
Roles:
Access: public
Output: false
_GETALIAS
function _getAlias
Arguments: none
Return Type: any
Roles:
Access: public
Output: false
_SETCONFIG
function _setConfig
Arguments:
Name Required Type Default
config Required any
Return Type: void
Roles:
Access: public
Output: false
_SETREACTORFACTORY
function _setReactorFactory
Arguments:
Name Required Type Default
reactorFactory Required any
Return Type: void
Roles:
Access: public
Output: false
_CONFIGURE
function _configure
Arguments:
Name Required Type Default
config Required any
alias Required any
ReactorFactory Required any
Convention Required any
ObjectMetadata Required any
Return Type: any
Roles:
Access: public
Output: false
GETBYQUERY
function getByQuery
Arguments:
Name Required Type Default
Query Required any
Return Type: any
Roles:
Access: public
Output: false
_SETNAME
function _setName
Arguments:
Name Required Type Default
name Required any
Return Type: void
Roles:
Access: public
Output: false
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Brad Haas
Sent: Tuesday, December 12, 2006 11:17 PM
To: [email protected]
Subject: RE: [Reactor for CF] URGENT - deployment to live site fails
Marc,
Have you tried instantiating that CFC outside site of Reactor? Can you
create a CFC by doing the following:
<cfset theMissingCFC = CreateObject("component","the.path.to.CFC")>
I'm think if the above fails, it may point you to an issue outside of
reactor (permissions, mappings, etc.) Of course it could fail and still be
Reactors fault (generating some bad or incomplete code), but it might be
something to try.
Brad
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<<attachment: winmail.dat>>
