ah, the isXML (CFMX 7 function) : Variable IsXML is undefined. The error occurred in /var/www/html/reactor/core/object.cfc: line 239 Called from /var/www/html/reactor/core/object.cfc: line 185 Called from /var/www/html/reactor/core/objectTranslator.cfc: line 21 Called from /var/www/html/reactor/core/objectFactory.cfc: line 102 Called from /var/www/html/reactor/reactorFactory.cfc: line 35 Called from /var/www/html/reactor/Data_Elements_Gateway.cfm: line 6
237 : <!--- set the field's properties ---> 238 : <cfset xmlField.XmlAttributes["name"] = arguments.field.getName() /> 239 : <cfif IsXML(fieldTag) AND StructKeyExists(fieldTag.XmlAttributes, "alias") > 240 : <cfset xmlField.XmlAttributes["alias"] = fieldTag.XmlAttributes.alias /> 241 : <cfelse> There's an isXML udf: http://www.cflib.org/udf.cfm?ID=993 <!--- Checks to see if a string is valid XML. @param data String to check. (Required) @return Returns a boolean. @author Ben Forta ([EMAIL PROTECTED]) @version 1, August 28, 2003 ---> <cffunction name="isXML" returnType="boolean" output="no"> <cfargument name="data" type="string" required="yes"> <!--- try catch block ---> <cftry> <!--- try to parse the data as xml ---> <cfset xmlparse(data)> <!--- if xmlparse() fails, it is not xml ---> <cfcatch type="any"> <cfreturn false> </cfcatch> </cftry> <cfreturn true> </cffunction> And that seems to allow reactor to run ok on CFMX 6.1, so far. haven't tried to do much yet. The error below comes from the isXML udf, this line of code: <cfset xmlparse(data)> 11:06:58.058 - Expression Exception - in /var/www/html/reactor/core/object.cfc : line 402 Document root element is missing. On 4/20/06, Doug Hughes <[EMAIL PROTECTED]> wrote: > Not sure, I havn't tested it. Are you running into issues? If so, let me > know where and I'll fix it! > > Doug > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Daryl > Sent: Wednesday, April 19, 2006 11:02 PM > To: [email protected] > Subject: Re: [Reactor For CF] New Commit committed (UPDATED!) > > is the latest svn build compatible with CFX 6.1, esp w/r/t isXML? > > > On 4/19/06, Doug Hughes <[EMAIL PROTECTED]> wrote: > > > > > > > > FYI - I've pushed out a few more bug fixes. > > > > > > > > Thanks for the congrats! It's nice when things work. > > > > > > > > Doug > > > > > > > > ________________________________ > > > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf > > Of Sam Clement > > Sent: Wednesday, April 19, 2006 10:35 PM > > > > To: [email protected] > > Subject: Re: [Reactor For CF] New Commit committed (UPDATED!) > > > > > > > > > > > > > > > > Congrats! Everything seems to be working fine from here. > > > > > > On 4/19/06, Doug Hughes <[EMAIL PROTECTED]> wrote: > > > > Contact manager worked out of the box! Woo hoo, it's looking stable now. > > > > Doug > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > Behalf > > Of Doug Hughes > > Sent: Wednesday, April 19, 2006 2:30 PM > > To: [email protected] > > Subject: RE: [Reactor For CF] New Commit committed (UPDATED!) > > > > Found a few bugs in reactor while updating the reactor blog sample. I've > > fixed the bugs and committed the update to RB and Reactor. > > > > I also added the feature below. > > > > After some rest I'll do the contact manager then I'm going to stop > messing > > around in here for a bit. > > > > Doug > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > Behalf > > Of Doug Hughes > > Sent: Wednesday, April 19, 2006 2:20 PM > > To: [email protected] > > Subject: RE: [Reactor For CF] New Commit committed (UPDATED!) > > > > > OK. Is there any thought of adding cascading delete so that the first > > > code *would* also delete all related sub-objects? > > > > I discussed this a bit last night, but for now I'm going to hold off on > > this. I don't see an urgent need for it. > > > > > Yes, please. Then I can do this: > > > > > <cfset user.removeAddress().delete() /> > > > <cfset user.save() /> > > > > Done and will be committed shortly. > > > > Doug > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > Behalf > > Of Sean Corfield > > Sent: Wednesday, April 19, 2006 1:45 PM > > To: [email protected] > > Subject: Re: [Reactor For CF] New Commit committed (UPDATED!) > > > > On 4/19/06, Doug Hughes <[EMAIL PROTECTED]> wrote: > > > The following code will delete the user but not the address. > > > > > > <cfset user.delete() /> > > > > > > The following code will cause a dbms-specific constraint error to be > > thrown. > > > You can't delete the user's address. > > > > > > <cfset user.getAddress ().delete() /> > > > > OK. Is there any thought of adding cascading delete so that the first > > code *would* also delete all related sub-objects? > > > > > <cfset address = user.getAddress() /> > > > <cfset user.removeAddress() /> > > > <cfset user.save() /> > > > <cfset address.delete() /> > > > > > > (Should removeAddress return the address that was removed? Akin to a > > pop() > > > method?) > > > > Yes, please. Then I can do this: > > > > <cfset user.removeAddress().delete() /> > > <cfset user.save() /> > > -- > > Sean A Corfield -- http://corfield.org/ > > Got frameworks? > > > > "If you're not annoying somebody, you're not really alive." > > -- Margaret Atwood > > > > > > > > -- 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/ > > > > > > > > > > -- 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/ > > > -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/

