On Sunday, Nov 24, 2002, at 12:51 US/Pacific, S. Isaac Dealey wrote: > <cffile action="rename" > directory="#parent#/#rsdir.name#" > newdirectory="#parent#/#newdir#"> > In CF 5 this works like a charm. In CFMX if the new value is the same > as the > old value an error is produced, saying that it can't rename the > existing > directory because the newdirectory already exists ( it's the same > directory
Well, that seems pretty reasonable behavior to me and the CF5 behavior sounds like a bug. > What I need to know is -- is this a planned changed from CF 5 and if > it's > not a planned change from CF 5 are there plans to fix it, or do I need > to > submit a bug report? I don't see anything about cffile or cfdirectory > in the > known issues list I searched the known issues, the documentation updates, the documentation additions and the migration guides and found no mention of a change in the behavior of cffile/cfdirectory action="rename". So I looked at the docs for CFMX. There is no mention of the behavior when the directory attribute (or source) and newdirectory (destination) are the same. The way it is worded sort of assumes that the newdirectory (destination) is different than the directory (source) but it doesn't explicitly mention that case. So I looked at the docs for CF5 and they are worded pretty much identically. So... I don't know. I'll ask the product team folks... Sean A Corfield -- Director, Architecture Web Technology Group -- Macromedia, Inc. tel: (415) 252-2287 -- cell: (415) 717-8473 aim: seancorfield -- http://www.macromedia.com An Architect's View -- http://www.corfield.org/blog/ Introducing Macromedia Contribute. Web publishing for everyone. Learn more at http://www.macromedia.com/contribute ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

