You probably have to force bar.cfc to be reloaded by CFMX, which means
change it's source file.  The change can be trivial, just need to change the
last modified date (`touch` on *nix will work, for example).  I bet that'll
fix it (though I don't know for sure).

Cheers,
barneyb 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Sparrow-Hood, Walter
> Sent: Monday, March 22, 2004 11:44 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [CFCDev] Strange getMetaData() behavior
> 
> Sean,
>       Don't want to beat this to death but it's been driving 
> me nuts all
> day.
> 
> Say I have 2 CFCs foo and bar and bar extends foo and I make 
> a change to the
> metadata (say hints) for foo.
> 
> The statement #getMetaData(foo)# will reflect the changes to 'hints'
> 
> The statement #getMetaData(bar)# will NOT reflect the changes 
> even though it
> extends foo.  The only way I can make #getMetaData(bar)# 
> display the changes
> is by restarting the CF server.  Is there some programmatic 
> way of clearing
> the cache? 
> 
> Walt
> 
>  -----Original Message-----
> From:         Sean A Corfield [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, March 21, 2004 7:50 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: [CFCDev] Strange getMetaData() behavior
> 
> On Mar 21, 2004, at 3:07 PM, Sparrow-Hood, Walter wrote:
> >     If it is in a shared scope, if I delete the cached 
> instance, then it
> > should get recreated with the new metadata, right?
> 
> Yes, once you've deleted any CFC instances in shared scopes, the 
> metadata should be refreshed from the newly compile CFC instance.
> 
> Regards,
> Sean
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email
> to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
> in the message of the email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported
> by Mindtool, Corporation (www.mindtool.com).
> 
> An archive of the CFCDev list is available at
> www.mail-archive.com/[EMAIL PROTECTED]
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email
> to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
> in the message of the email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported
> by Mindtool, Corporation (www.mindtool.com).
> 
> An archive of the CFCDev list is available at 
> www.mail-archive.com/[EMAIL PROTECTED]
> 

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to