House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Solved! (I think I found a ColdFusion MX bug!) - RE: ColdFusion MX 6 1 windows problem This is so simple why doesn't it work?

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group Next >> 

Solved! ... (I think I found a CFMX bug!) - RE: CFMX 6.1 windows problem... This is so simple... why doesn't it work?

URL is a reserved scope name. If you fully qualify the output, it should Raymond Camden 11/25/2003 09:58 AM
I figured out the problem I was having... it turns out it had to do with one Jon Block 11/25/2003 09:52 AM

11/25/2003 09:58 AM
Author: Raymond Camden Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:28913#145008 URL is a reserved scope name. If you fully qualify the output, it should work, ie use queryname.url, not just url.
11/25/2003 09:52 AM
Author: Jon Block Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:28913#145001 I figured out the problem I was having... it turns out it had to do with one of the field's in my recordset that was generated with <CFQUERY>. One of the fields was called "URL" because it holds the URL of a web page that needs to get used on the front end. The following code fails in CFMX. Looking at it, I can't think of a reason why this code would fail. Clearly, this code is not useful but it shouldn't bomb. ----------- <cfquery name="bling" datasource="hooha">   select 'http://neverlandranch.foo' as URL </cfquery> <cfoutput query="bling">   #urldecode("michael jackson")# </cfoutput> ----------- -Jon work? When I run this page.... ----------------------- <cfquery datasource="bling" name="getRec">   select ...... (bla bla foo) </cfquery>   <cfoutput query="getRec">   #urlDecode('whytheheckdoesthisthowanerror')#   </cfoutput> ----------------------- I get ... ----------------------- Error casting an object of type to an incompatible type. This usually indicates a programming error in Java, although it could also mean you have tried to use a foreign object in a different way than it was designed. The error occurred in X:\xxxxx\editRecord1.cfm: line 27 Called from X:\xxxxx\x.cfm: line 33 Called from X:\xxxxx\xx.cfm: line 93 Called from X:\XXXXXX.cfm: line 94 ----------------------- Please help! (I watered down the query and the file names just to show you the root of the problem).... Thanks, Jon
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference