The page context bug is confirmed fixed in Red Sky. (I was given permission to mention it at cfun and mx on the rocks.)
======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Sparrow-Hood, Walter > Sent: Thursday, July 03, 2003 9:23 AM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] CFfile within a Component > > > That was it!!! I was actually creating a new instance of the > cfc when I was using <cfinvoke>. If I create a new instance > using createObject() it also works the way I intended. > Thanks for all the help everyone! > > BTW, do we know when this bug is expected to be fixed? > It seems like it's been around for a while. Walt > > > > -----Original Message----- > From: Nathan Dintenfass [SMTP:[EMAIL PROTECTED] > Sent: Thursday, July 03, 2003 2:03 AM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] CFfile within a Component > > One thing I think it's safe to say is that this is a page > context bug problem, not an issue between CFINVOKE and > createObject(). That said, I have found some strange > behavior in a simple test I put together. > > Attached are two files. One is a simple CFC designed to > handle an upload > based loosely on the one Walter sent. The other is a test > script that uses the CFC. > > The CFC always works when you have a fresh instance -- so, > createObject() is not your issue. However, the CFC SOMETIMES > works with a persisted instance and SOMETIMES does not. I > could not believe it was happening, but on my W2K, CFMXu3 > server (using the JRun web server) I find inconsistent > behavior, even when repeating what seems like the exact same > case multiple times. If the request during which you upload > the file is the request in which you instantiate the CFC it > works 100% of the time. It seems that if you instantiate a > "fresh" instance, then upload a file using that persisted, > unused instance, it works every time. After that, all bets are off. > ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
