More info required for getting at the root cause: DB ? Your Reactor config?

W.

On Nov 29, 2006, at 23:15, Brad Haas wrote:

Yep. That's what I thought. I've blown away the files and flushed the application scope and it happens over and over again. I have no clue why this is happening.

Thanks,
Brad

On Nov 29, 2006, at 5:03 PM, [EMAIL PROTECTED] wrote:

Brad, the condition of the CFIF seems to be missing... Try re- generating the files...

W.

On Nov 29, 2006, at 22:37, Brad Haas wrote:

After upgrading to the latest build I blew away all the App data and project files to get a fresh start. Parts of the application is working correctly, but I ran into a strange error on a page that had been working previously.


The error message is:

 Invalid CFML construct found on line 206 at column 25.
ColdFusion was looking at the following text:

>

The CFML compiler was processing:

    * a cfif tag beginning on line 204, column 18.
    * a cfif tag beginning on line 204, column 18.

For some reason it looks like Reactor is adding extra space and line breaks to a <cfif> statement for the code generated for a record object. Here's the code generated by Reactor that is causing the problem:


<cffunction name="getUserSecurity" access="public" output="false" returntype="any" _returntype="reactor.project.Autec.Record.UserSecurityRecord">
                <cfset var UserSecurity = 0 />
                
<!--- load the initial UserSecurity record. this will be empty --->
                <cfif NOT StructKeyExists(variables.children, "UserSecurity") 
OR (
                                StructKeyExists(variables.children, 
"UserSecurity")
                                AND NOT 
IsObject(variables.children.UserSecurity)
                ) >
<cfset UserSecurity = _getReactorFactory().createRecord ("UserSecurity") />
                        <cfset UserSecurity._setParent(this, "UserSecurity") />
                        <cfset variables.children.UserSecurity = UserSecurity />
                </cfif>
                
<!--- if this object has an related values that are not the same as the values in this object then load the correct values --->
                <cfif
                        
                        >
                        
                        <cfset variables.children.UserSecurity.load('') />
                </cfif>
                
                <cfreturn variables.children.UserSecurity />
        </cffunction>


Anyone have any ideas why this is happening?

Thanks,
Brad



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to