Issue with CF8 on IIS and Taffy 3.0.0

21 views
Skip to first unread message

Prignon Yves

unread,
Mar 14, 2016, 9:44:56 PM3/14/16
to Taffy Users
Hello,

I'm trying to set up taffy on an old CF8 with IIS and I got this error when I try to test the simple taffy exemple under /taffy/examples/jsonutil

Any idea on how to make it work? What am I doing wrong? What is the last taffy CF8 compatible release?

Invalid token ? found on line 492 at column 79.  
The CFML compiler was processing:
 
A cfset tag beginning on line 484, column 18.
A cfset tag beginning on line 484, column 18.
 
 
The error occurred in C:\ColdFusion8\lib\taffy\core\api.cfc: line 492
 
490 :           ,_taffyRequest.methodMetadata
491 :           ,local.parsed.matchDetails.srcUri
492 :           ,structKeyExists( _taffyRequest, 'resultSerialized' ) ? _taffyRequest.resultSerialized : ''
493 :           ,structKeyExists( _taffyRequest, 'result' ) ? _taffyRequest.result.getData() : {}
494 :           ) />
 
 
 
--------------------------------------------------------------------------------
 
Resources:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
 
 
Browser   Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E)
Remote Address   172.16.112.33
Referrer    
Date/Time   15-Mar-16 02:40 AM


Thanks you!

Adam Tuttle

unread,
Mar 15, 2016, 10:21:22 PM3/15/16
to Taffy Users

Sounds like CF8 didn't have support for ternary operators. Just an oversight in that example, sorry!

Can you file a bug about that so that we remember to fix it?

--
You received this message because you are subscribed to the Google Groups "Taffy Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taffy-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Prignon Yves

unread,
Mar 16, 2016, 6:17:14 AM3/16/16
to Taffy Users
Thanks Adam for the answer, I didn't look at the source of taffy. I read it was compatible with CF8 so I didn't not even think of an issue with ternary operator. I'll look into that.

Ternaries should have been part of the cf script from day 1 but at that time most people were using markup syntax, heck this specific application still use "application.cfm"... It's from 2006 but still up and running

I'll fill the bug about that later today.

Thanks you!

Adam Tuttle

unread,
Mar 16, 2016, 7:59:16 AM3/16/16
to Taffy Users

Taffy is definitely still compatible with CF8, I think we just let that ternary sneak into the example by accident.

--
Reply all
Reply to author
Forward
0 new messages