error in mockbox

19 views
Skip to first unread message

Jim O'Keefe

unread,
Feb 15, 2016, 10:51:08 AM2/15/16
to Xindi CMS CFML
I've been using xindi successfully and thought I spend a little time looking at how testing works. I ran http://localhost/xindi/_tests/runner.cfm and http://localhost/xindi/_tests/automation/Tests.cfc?method=runRemote. Both came back with the same error:

Invalid CFML construct found on line 298 at column 61.

ColdFusion was looking at the following text:

{


The error occurred in /Users/jim/Sites/xindi/framework/TestBox/system/MockBox.cfc: line 298


298 : 			<cfreturn this.$callback(function() { throw(argumentCollection = args); }) />

Has anyone run into this before? Does anyone see an invalid CFML construct on line 298? There's an inline cfscript function in the middle of the cfreturn tag, but this type of syntax is used all over MockBox.cfc so I have to assume it's valid.

Thanks in advance. Jim

John Whish

unread,
Feb 15, 2016, 12:30:13 PM2/15/16
to getx...@googlegroups.com

Which cfml engine and version are you running?

--
You received this message because you are subscribed to the Google Groups "Xindi CMS CFML" group.
To unsubscribe from this group and stop receiving emails from it, send an email to getxindi+u...@googlegroups.com.
To post to this group, send email to getx...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/getxindi/aa967a4d-c8c1-4c7c-bb96-202cc484ea20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John Whish

unread,
Feb 15, 2016, 12:33:04 PM2/15/16
to getx...@googlegroups.com

Also, in mockbox.cfc what's the version? Should say in the init method.

Thanks

On 15 Feb 2016 15:51, "Jim O'Keefe" <okj...@gmail.com> wrote:
--

Jim O'Keefe

unread,
Feb 15, 2016, 4:10:57 PM2/15/16
to Xindi CMS CFML
Coldfusion 11

Jim O'Keefe

unread,
Feb 15, 2016, 4:15:09 PM2/15/16
to Xindi CMS CFML
Doesn't say a version in the init method. I just pulled it through github this morning

John Whish

unread,
Feb 15, 2016, 4:16:27 PM2/15/16
to getx...@googlegroups.com
I've had a look at the linked revision of TestBox and I think you're version of Testbox might be behind. If you cloned the repo then try doing

$ git submodule init && git submodule update

That'll update the various libraries that xindi uses. Hopefully that'll sort it out for you.

Jim O'Keefe

unread,
Feb 15, 2016, 4:49:54 PM2/15/16
to Xindi CMS CFML
I'm gonna say that fixed it. I seem to be having selenium problems which suggests I got past the coldfusion issue.
Reply all
Reply to author
Forward
0 new messages