LDEV-4867 test without changes #1252
3 errors, 3 fail, 194 skipped, 3 550 pass in 3m 31s
1 files 1 443 suites 3m 31s ⏱️
3 750 tests 3 550 ✅ 194 💤 3 ❌ 3 🔥
3 871 runs 3 649 ✅ 215 💤 3 ❌ 4 🔥
Results for commit 9210e4d.
Annotations
Check warning on line 0 in test.tickets.LDEV4867
github-actions / Lucee Test Results
test query parsing, removing comments (test.tickets.LDEV4867) failed
test/reports/junit-test-results-6.0.4.1-SNAPSHOT.xml [took 0s]
Raw output
The needle [-- foo] was not found in [/* bar */ SELECT engine from qry where id = ?]
[{Raw_Trace={system.assertion_cfc$cf.udfCall1(/testbox/system/Assertion.cfc:16)}, codePrintPlain={14: function fail( message="" ){
15: arguments.message = ( len( arguments.message ) ? arguments.message : "A test failure occurred" );
16: throw(type="TestBox.AssertionFailed", message=arguments.message);
17: }
18:
}, column={0}, line={16}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={14: function fail( message="" ){<br>
15: arguments.message = ( len( arguments.message ) ? arguments.message : "A test failure occurred" );<br>
<b>16: throw(type="TestBox.AssertionFailed", message=arguments.message);</b><br>
17: }<br>
18: <br>
}}, {Raw_Trace={system.assertion_cfc$cf.udfCall4(/testbox/system/Assertion.cfc:508)}, codePrintPlain={506: }
507:
508: fail( arguments.message );
509: }
510:
}, column={0}, line={508}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={506: }<br>
507: <br>
<b>508: fail( arguments.message );</b><br>
509: }<br>
510: <br>
}}, {Raw_Trace={system.expectation_cfc$cf.udfCall3(/testbox/system/Expectation.cfc:382)}, codePrintPlain={380: variables.assert.notIncludes( argumentCollection=arguments );
381: } else {
382: variables.assert.includes( argumentCollection=arguments );
383: }
384: return this;
}, column={0}, line={382}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Expectation.cfc}, id={??}, type={cfml}, codePrintHTML={380: variables.assert.notIncludes( argumentCollection=arguments );<br>
381: } else {<br>
<b>382: variables.assert.includes( argumentCollection=arguments );</b><br>
383: }<br>
384: return this;<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:110)}, codePrintPlain={108: var db = doQuery( arguments.sql, arguments.whitespaceDesc, "" );
109: for ( var comment in arguments.comments ){
110: expect ( db.result.sql ).toInclude( comment );
111: }
112: expect( db.rs.engine ).toBe( "lucee" );
}, column={0}, line={110}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={108: var db = doQuery( arguments.sql, arguments.whitespaceDesc, "" );<br>
109: for ( var comment in arguments.comments ){<br>
<b>110: expect ( db.result.sql ).toInclude( comment );</b><br>
111: }<br>
112: expect( db.rs.engine ).toBe( "lucee" );<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:90)}, codePrintPlain={88: private function executeTest( string sql, array comments, string seperatorWhitespace ){
89: _executeTest( arguments.sql, arguments.comments,
90: arguments.seperatorWhitespace & ", no extra" );
91: _executeTest( " " & chr( 10 ) & arguments.sql, arguments.comments,
92: arguments.seperatorWhitespace & ", leading SPACE LF" );
}, column={0}, line={90}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={88: private function executeTest( string sql, array comments, string seperatorWhitespace ){<br>
89: _executeTest( arguments.sql, arguments.comments,<br>
<b>90: arguments.seperatorWhitespace & ", no extra" );</b><br>
91: _executeTest( " " & chr( 10 ) & arguments.sql, arguments.comments,<br>
92: arguments.seperatorWhitespace & ", leading SPACE LF" );<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:67)}, codePrintPlain={65: private function doTest( array sql, array comments ){
66: var newlines = ArrayToList( arguments.sql, chr( 10 ) );
67: executeTest( newlines, comments, "[LF]" );
68:
69: var paddedNewlines = ArrayToList( arguments.sql, " " & chr( 10 ) & " " );
}, column={0}, line={67}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={65: private function doTest( array sql, array comments ){<br>
66: var newlines = ArrayToList( arguments.sql, chr( 10 ) );<br>
<b>67: executeTest( newlines, comments, "[LF]" );</b><br>
68: <br>
69: var paddedNewlines = ArrayToList( arguments.sql, " " & chr( 10 ) & " " );<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall1(/test/tickets/LDEV4867.cfc:25)}, codePrintPlain={23: doTest( ["-- foo", "/* bar */", "SELECT engine from qry where id = :id "]
24: ,[ "-- foo" , "/* bar */" ]
25: );
26: });
27:
}, column={0}, line={25}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={23: doTest( ["-- foo", "/* bar */", "SELECT engine from qry where id = :id "]<br>
24: ,[ "-- foo" , "/* bar */" ]<br>
<b>25: );</b><br>
26: });<br>
27: <br>
}}, {Raw_Trace={system.basespec_cfc$cf.udfCall3(/testbox/system/BaseSpec.cfc:567)}, codePrintPlain={565: } else {
566: // Execute the Spec body
567: arguments.spec.body( data=arguments.spec.data );
568: }
569: } catch( any e ){
}, column={0}, line={567}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={565: } else {<br>
566: // Execute the Spec body<br>
<b>567: arguments.spec.body( data=arguments.spec.data );</b><br>
568: }<br>
569: } catch( any e ){<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:204)}, codePrintPlain={202: suiteStats=thread.suiteStats,
203: runner=this
204: );
205:
206: // verify call backs
}, column={0}, line={204}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={202: suiteStats=thread.suiteStats,<br>
203: runner=this <br>
<b>204: );</b><br>
205: <br>
206: // verify call backs<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:75)}, codePrintPlain={73: testResults=arguments.testResults,
74: bundleStats=bundleStats,
75: callbacks=arguments.callbacks
76: );
77:
}, column={0}, line={75}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={73: testResults=arguments.testResults,<br>
74: bundleStats=bundleStats,<br>
<b>75: callbacks=arguments.callbacks</b><br>
76: );<br>
77: <br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:364)}, codePrintPlain={362: // Run via BDD Style
363: new testbox.system.runners.BDDRunner( options=variables.options, testbox=this )
364: .run( target, arguments.testResults, arguments.callbacks );
365: }
366: else{
}, column={0}, line={364}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={362: // Run via BDD Style<br>
363: new testbox.system.runners.BDDRunner( options=variables.options, testbox=this )<br>
<b>364: .run( target, arguments.testResults, arguments.callbacks );</b><br>
365: }<br>
366: else{<br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:170)}, codePrintPlain={168: for( var thisBundlePath in variables.bundles ){
169: // Execute Bundle
170: testBundle( bundlePath=thisBundlePath, testResults=results, callbacks=arguments.callbacks );
171: }
172:
}, column={0}, line={170}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={168: for( var thisBundlePath in variables.bundles ){<br>
169: // Execute Bundle<br>
<b>170: testBundle( bundlePath=thisBundlePath, testResults=results, callbacks=arguments.callbacks );</b><br>
171: }<br>
172: <br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:98)}, codePrintPlain={96: if( !isNull( arguments.reporter ) ){ variables.reporter = arguments.reporter; }
97: // run it and get results
98: var results = runRaw( argumentCollection=arguments );
99: // store latest results
100: variables.result = results;
}, column={0}, line={98}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={96: if( !isNull( arguments.reporter ) ){ variables.reporter = arguments.reporter; }<br>
97: // run it and get results<br>
<b>98: var results = runRaw( argumentCollection=arguments );</b><br>
99: // store latest results<br>
100: variables.result = results;<br>
}}, {Raw_Trace={_testrunner_cfc$cf.udfCall(/test/_testRunner.cfc:283)}, codePrintPlain={281: ,onSpecEnd = function( bundle, testResults, suite, spec ){}*/
282: } // callbacks
283: ); // report = tb.run
284:
285: // get the result
}, column={0}, line={283}, template={/home/runner/work/Lucee/Lucee/test/_testRunner.cfc}, id={??}, type={cfml}, codePrintHTML={281: ,onSpecEnd = function( bundle, testResults, suite, spec ){}*/<br>
282: } // callbacks<br>
<b>283: ); // report = tb.run</b><br>
284: <br>
285: // get the result<br>
}}, {Raw_Trace={run_tests_cfm180$cf.call(/test/run-tests.cfm:284)}, codePrintPlain={282: systemOutput(NL & "-------------- Start Tests -----------", true);
283: silent {
284: testResults = new test._testRunner().runTests();
285: }
286:
}, column={0}, line={284}, template={/home/runner/work/Lucee/Lucee/test/run-tests.cfm}, id={??}, type={cfml}, codePrintHTML={282: systemOutput(NL & "-------------- Start Tests -----------", true);<br>
283: silent {<br>
<b>284: testResults = new test._testRunner().runTests();</b><br>
285: }<br>
286: <br>
}}]
Check failure on line 0 in test.tickets.LDEV4867
github-actions / Lucee Test Results
All 2 runs with error: test query parsing, with a ? in a comment (test.tickets.LDEV4867)
test/reports/junit-test-results-6.0.4.1-SNAPSHOT.xml [took 0s]
Raw output
there are more question marks in the SQL than params defined
lucee.runtime.exp.ApplicationException: there are more question marks in the SQL than params defined
at lucee.runtime.tag.util.QueryParamConverter.convert(QueryParamConverter.java:193)
at lucee.runtime.tag.util.QueryParamConverter.convert(QueryParamConverter.java:73)
at lucee.runtime.tag.Query._doEndTag(Query.java:589)
at lucee.runtime.tag.Query.doEndTag(Query.java:562)
at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:126)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:108)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:90)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:67)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at tickets.ldev4867_cfc$cf.udfCall1(/test/tickets/LDEV4867.cfc:31)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.EnvUDF.callWithNamedValues(EnvUDF.java:83)
at lucee.runtime.type.util.StructSupport.callWithNamedValues(StructSupport.java:286)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.basespec_cfc$cf.udfCall3(/testbox/system/BaseSpec.cfc:567)
at system.basespec_cfc$cf.udfCall(/testbox/system/BaseSpec.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:703)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2033)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:204)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:75)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:702)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2014)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:364)
at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:170)
at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:98)
at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:703)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2033)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at _testrunner_cfc$cf.udfCall(/test/_testRunner.cfc:283)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:702)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2014)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at run_tests_cfm180$cf.call(/test/run-tests.cfm:284)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1060)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:952)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:933)
at 10abffm4osc5b.call(Unknown Source)
at lucee.runtime.compiler.Renderer.tag(Renderer.java:107)
at lucee.runtime.compiler.Renderer.script(Renderer.java:97)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:65)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:220)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:154)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:86)
at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:54)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.Target.performTasks(Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
at org.apache.tools.ant.Main.runBuild(Main.java:818)
at org.apache.tools.ant.Main.startAnt(Main.java:223)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
Check failure on line 0 in test.tickets.LDEV4867
github-actions / Lucee Test Results
test query parsing, with a ? in a /* */ comment (test.tickets.LDEV4867) with error
test/reports/junit-test-results-6.0.4.1-SNAPSHOT.xml [took 0s]
Raw output
there are more question marks in the SQL than params defined
lucee.runtime.exp.ApplicationException: there are more question marks in the SQL than params defined
at lucee.runtime.tag.util.QueryParamConverter.convert(QueryParamConverter.java:193)
at lucee.runtime.tag.util.QueryParamConverter.convert(QueryParamConverter.java:73)
at lucee.runtime.tag.Query._doEndTag(Query.java:589)
at lucee.runtime.tag.Query.doEndTag(Query.java:562)
at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:126)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:108)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:90)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:67)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at tickets.ldev4867_cfc$cf.udfCall1(/test/tickets/LDEV4867.cfc:36)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.EnvUDF.callWithNamedValues(EnvUDF.java:83)
at lucee.runtime.type.util.StructSupport.callWithNamedValues(StructSupport.java:286)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.basespec_cfc$cf.udfCall3(/testbox/system/BaseSpec.cfc:567)
at system.basespec_cfc$cf.udfCall(/testbox/system/BaseSpec.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:703)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2033)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:204)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:75)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:702)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2014)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:364)
at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:170)
at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:98)
at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:703)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2033)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at _testrunner_cfc$cf.udfCall(/test/_testRunner.cfc:283)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:702)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2014)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at run_tests_cfm180$cf.call(/test/run-tests.cfm:284)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1060)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:952)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:933)
at 10abffm4osc5b.call(Unknown Source)
at lucee.runtime.compiler.Renderer.tag(Renderer.java:107)
at lucee.runtime.compiler.Renderer.script(Renderer.java:97)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:65)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:220)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:154)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:86)
at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:54)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.Target.performTasks(Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
at org.apache.tools.ant.Main.runBuild(Main.java:818)
at org.apache.tools.ant.Main.startAnt(Main.java:223)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
Check failure on line 0 in test.tickets.LDEV4867
github-actions / Lucee Test Results
test query parsing, with a ? and : in a comment (test.tickets.LDEV4867) with error
test/reports/junit-test-results-6.0.4.1-SNAPSHOT.xml [took 0s]
Raw output
there are more question marks in the SQL than params defined
lucee.runtime.exp.ApplicationException: there are more question marks in the SQL than params defined
at lucee.runtime.tag.util.QueryParamConverter.convert(QueryParamConverter.java:193)
at lucee.runtime.tag.util.QueryParamConverter.convert(QueryParamConverter.java:73)
at lucee.runtime.tag.Query._doEndTag(Query.java:589)
at lucee.runtime.tag.Query.doEndTag(Query.java:562)
at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:126)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:108)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:90)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:67)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at tickets.ldev4867_cfc$cf.udfCall1(/test/tickets/LDEV4867.cfc:42)
at tickets.ldev4867_cfc$cf.udfCall(/test/tickets/LDEV4867.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.EnvUDF.callWithNamedValues(EnvUDF.java:83)
at lucee.runtime.type.util.StructSupport.callWithNamedValues(StructSupport.java:286)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.basespec_cfc$cf.udfCall3(/testbox/system/BaseSpec.cfc:567)
at system.basespec_cfc$cf.udfCall(/testbox/system/BaseSpec.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:703)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2033)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:204)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:75)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:702)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2014)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:364)
at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:170)
at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:805)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:98)
at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:703)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2033)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:876)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2018)
at _testrunner_cfc$cf.udfCall(/test/_testRunner.cfc:283)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:702)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:590)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2014)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:797)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1999)
at run_tests_cfm180$cf.call(/test/run-tests.cfm:284)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1060)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:952)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:933)
at 10abffm4osc5b.call(Unknown Source)
at lucee.runtime.compiler.Renderer.tag(Renderer.java:107)
at lucee.runtime.compiler.Renderer.script(Renderer.java:97)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:65)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:220)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:154)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:86)
at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:54)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.Target.performTasks(Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
at org.apache.tools.ant.Main.runBuild(Main.java:818)
at org.apache.tools.ant.Main.startAnt(Main.java:223)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
Check warning on line 0 in test.tickets.LDEV4867
github-actions / Lucee Test Results
test query parsing, with a ? in a trailing line comment (test.tickets.LDEV4867) failed
test/reports/junit-test-results-6.0.4.1-SNAPSHOT.xml [took 0s]
Raw output
The needle [-- foo ? :do] was not found in [SELECT engine from qry where id = ? ]
[{Raw_Trace={system.assertion_cfc$cf.udfCall1(/testbox/system/Assertion.cfc:16)}, codePrintPlain={14: function fail( message="" ){
15: arguments.message = ( len( arguments.message ) ? arguments.message : "A test failure occurred" );
16: throw(type="TestBox.AssertionFailed", message=arguments.message);
17: }
18:
}, column={0}, line={16}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={14: function fail( message="" ){<br>
15: arguments.message = ( len( arguments.message ) ? arguments.message : "A test failure occurred" );<br>
<b>16: throw(type="TestBox.AssertionFailed", message=arguments.message);</b><br>
17: }<br>
18: <br>
}}, {Raw_Trace={system.assertion_cfc$cf.udfCall4(/testbox/system/Assertion.cfc:508)}, codePrintPlain={506: }
507:
508: fail( arguments.message );
509: }
510:
}, column={0}, line={508}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={506: }<br>
507: <br>
<b>508: fail( arguments.message );</b><br>
509: }<br>
510: <br>
}}, {Raw_Trace={system.expectation_cfc$cf.udfCall3(/testbox/system/Expectation.cfc:382)}, codePrintPlain={380: variables.assert.notIncludes( argumentCollection=arguments );
381: } else {
382: variables.assert.includes( argumentCollection=arguments );
383: }
384: return this;
}, column={0}, line={382}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Expectation.cfc}, id={??}, type={cfml}, codePrintHTML={380: variables.assert.notIncludes( argumentCollection=arguments );<br>
381: } else {<br>
<b>382: variables.assert.includes( argumentCollection=arguments );</b><br>
383: }<br>
384: return this;<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:110)}, codePrintPlain={108: var db = doQuery( arguments.sql, arguments.whitespaceDesc, "" );
109: for ( var comment in arguments.comments ){
110: expect ( db.result.sql ).toInclude( comment );
111: }
112: expect( db.rs.engine ).toBe( "lucee" );
}, column={0}, line={110}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={108: var db = doQuery( arguments.sql, arguments.whitespaceDesc, "" );<br>
109: for ( var comment in arguments.comments ){<br>
<b>110: expect ( db.result.sql ).toInclude( comment );</b><br>
111: }<br>
112: expect( db.rs.engine ).toBe( "lucee" );<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:90)}, codePrintPlain={88: private function executeTest( string sql, array comments, string seperatorWhitespace ){
89: _executeTest( arguments.sql, arguments.comments,
90: arguments.seperatorWhitespace & ", no extra" );
91: _executeTest( " " & chr( 10 ) & arguments.sql, arguments.comments,
92: arguments.seperatorWhitespace & ", leading SPACE LF" );
}, column={0}, line={90}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={88: private function executeTest( string sql, array comments, string seperatorWhitespace ){<br>
89: _executeTest( arguments.sql, arguments.comments,<br>
<b>90: arguments.seperatorWhitespace & ", no extra" );</b><br>
91: _executeTest( " " & chr( 10 ) & arguments.sql, arguments.comments,<br>
92: arguments.seperatorWhitespace & ", leading SPACE LF" );<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:67)}, codePrintPlain={65: private function doTest( array sql, array comments ){
66: var newlines = ArrayToList( arguments.sql, chr( 10 ) );
67: executeTest( newlines, comments, "[LF]" );
68:
69: var paddedNewlines = ArrayToList( arguments.sql, " " & chr( 10 ) & " " );
}, column={0}, line={67}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={65: private function doTest( array sql, array comments ){<br>
66: var newlines = ArrayToList( arguments.sql, chr( 10 ) );<br>
<b>67: executeTest( newlines, comments, "[LF]" );</b><br>
68: <br>
69: var paddedNewlines = ArrayToList( arguments.sql, " " & chr( 10 ) & " " );<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall1(/test/tickets/LDEV4867.cfc:54)}, codePrintPlain={52: doTest( [ "SELECT engine"," from qry", "where id = :id", "-- foo ? :do" ],
53: [ "-- foo ? :do" ]
54: );
55: });
56:
}, column={0}, line={54}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={52: doTest( [ "SELECT engine"," from qry", "where id = :id", "-- foo ? :do" ],<br>
53: [ "-- foo ? :do" ]<br>
<b>54: );</b><br>
55: });<br>
56: <br>
}}, {Raw_Trace={system.basespec_cfc$cf.udfCall3(/testbox/system/BaseSpec.cfc:567)}, codePrintPlain={565: } else {
566: // Execute the Spec body
567: arguments.spec.body( data=arguments.spec.data );
568: }
569: } catch( any e ){
}, column={0}, line={567}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={565: } else {<br>
566: // Execute the Spec body<br>
<b>567: arguments.spec.body( data=arguments.spec.data );</b><br>
568: }<br>
569: } catch( any e ){<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:204)}, codePrintPlain={202: suiteStats=thread.suiteStats,
203: runner=this
204: );
205:
206: // verify call backs
}, column={0}, line={204}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={202: suiteStats=thread.suiteStats,<br>
203: runner=this <br>
<b>204: );</b><br>
205: <br>
206: // verify call backs<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:75)}, codePrintPlain={73: testResults=arguments.testResults,
74: bundleStats=bundleStats,
75: callbacks=arguments.callbacks
76: );
77:
}, column={0}, line={75}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={73: testResults=arguments.testResults,<br>
74: bundleStats=bundleStats,<br>
<b>75: callbacks=arguments.callbacks</b><br>
76: );<br>
77: <br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:364)}, codePrintPlain={362: // Run via BDD Style
363: new testbox.system.runners.BDDRunner( options=variables.options, testbox=this )
364: .run( target, arguments.testResults, arguments.callbacks );
365: }
366: else{
}, column={0}, line={364}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={362: // Run via BDD Style<br>
363: new testbox.system.runners.BDDRunner( options=variables.options, testbox=this )<br>
<b>364: .run( target, arguments.testResults, arguments.callbacks );</b><br>
365: }<br>
366: else{<br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:170)}, codePrintPlain={168: for( var thisBundlePath in variables.bundles ){
169: // Execute Bundle
170: testBundle( bundlePath=thisBundlePath, testResults=results, callbacks=arguments.callbacks );
171: }
172:
}, column={0}, line={170}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={168: for( var thisBundlePath in variables.bundles ){<br>
169: // Execute Bundle<br>
<b>170: testBundle( bundlePath=thisBundlePath, testResults=results, callbacks=arguments.callbacks );</b><br>
171: }<br>
172: <br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:98)}, codePrintPlain={96: if( !isNull( arguments.reporter ) ){ variables.reporter = arguments.reporter; }
97: // run it and get results
98: var results = runRaw( argumentCollection=arguments );
99: // store latest results
100: variables.result = results;
}, column={0}, line={98}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={96: if( !isNull( arguments.reporter ) ){ variables.reporter = arguments.reporter; }<br>
97: // run it and get results<br>
<b>98: var results = runRaw( argumentCollection=arguments );</b><br>
99: // store latest results<br>
100: variables.result = results;<br>
}}, {Raw_Trace={_testrunner_cfc$cf.udfCall(/test/_testRunner.cfc:283)}, codePrintPlain={281: ,onSpecEnd = function( bundle, testResults, suite, spec ){}*/
282: } // callbacks
283: ); // report = tb.run
284:
285: // get the result
}, column={0}, line={283}, template={/home/runner/work/Lucee/Lucee/test/_testRunner.cfc}, id={??}, type={cfml}, codePrintHTML={281: ,onSpecEnd = function( bundle, testResults, suite, spec ){}*/<br>
282: } // callbacks<br>
<b>283: ); // report = tb.run</b><br>
284: <br>
285: // get the result<br>
}}, {Raw_Trace={run_tests_cfm180$cf.call(/test/run-tests.cfm:284)}, codePrintPlain={282: systemOutput(NL & "-------------- Start Tests -----------", true);
283: silent {
284: testResults = new test._testRunner().runTests();
285: }
286:
}, column={0}, line={284}, template={/home/runner/work/Lucee/Lucee/test/run-tests.cfm}, id={??}, type={cfml}, codePrintHTML={282: systemOutput(NL & "-------------- Start Tests -----------", true);<br>
283: silent {<br>
<b>284: testResults = new test._testRunner().runTests();</b><br>
285: }<br>
286: <br>
}}]
Check warning on line 0 in test.tickets.LDEV4867
github-actions / Lucee Test Results
test query parsing, with a ? in a trailing comment block (test.tickets.LDEV4867) failed
test/reports/junit-test-results-6.0.4.1-SNAPSHOT.xml [took 0s]
Raw output
The needle [/* foo ? :do */] was not found in [SELECT engine from qry where id = ? ]
[{Raw_Trace={system.assertion_cfc$cf.udfCall1(/testbox/system/Assertion.cfc:16)}, codePrintPlain={14: function fail( message="" ){
15: arguments.message = ( len( arguments.message ) ? arguments.message : "A test failure occurred" );
16: throw(type="TestBox.AssertionFailed", message=arguments.message);
17: }
18:
}, column={0}, line={16}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={14: function fail( message="" ){<br>
15: arguments.message = ( len( arguments.message ) ? arguments.message : "A test failure occurred" );<br>
<b>16: throw(type="TestBox.AssertionFailed", message=arguments.message);</b><br>
17: }<br>
18: <br>
}}, {Raw_Trace={system.assertion_cfc$cf.udfCall4(/testbox/system/Assertion.cfc:508)}, codePrintPlain={506: }
507:
508: fail( arguments.message );
509: }
510:
}, column={0}, line={508}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={506: }<br>
507: <br>
<b>508: fail( arguments.message );</b><br>
509: }<br>
510: <br>
}}, {Raw_Trace={system.expectation_cfc$cf.udfCall3(/testbox/system/Expectation.cfc:382)}, codePrintPlain={380: variables.assert.notIncludes( argumentCollection=arguments );
381: } else {
382: variables.assert.includes( argumentCollection=arguments );
383: }
384: return this;
}, column={0}, line={382}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Expectation.cfc}, id={??}, type={cfml}, codePrintHTML={380: variables.assert.notIncludes( argumentCollection=arguments );<br>
381: } else {<br>
<b>382: variables.assert.includes( argumentCollection=arguments );</b><br>
383: }<br>
384: return this;<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:110)}, codePrintPlain={108: var db = doQuery( arguments.sql, arguments.whitespaceDesc, "" );
109: for ( var comment in arguments.comments ){
110: expect ( db.result.sql ).toInclude( comment );
111: }
112: expect( db.rs.engine ).toBe( "lucee" );
}, column={0}, line={110}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={108: var db = doQuery( arguments.sql, arguments.whitespaceDesc, "" );<br>
109: for ( var comment in arguments.comments ){<br>
<b>110: expect ( db.result.sql ).toInclude( comment );</b><br>
111: }<br>
112: expect( db.rs.engine ).toBe( "lucee" );<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:90)}, codePrintPlain={88: private function executeTest( string sql, array comments, string seperatorWhitespace ){
89: _executeTest( arguments.sql, arguments.comments,
90: arguments.seperatorWhitespace & ", no extra" );
91: _executeTest( " " & chr( 10 ) & arguments.sql, arguments.comments,
92: arguments.seperatorWhitespace & ", leading SPACE LF" );
}, column={0}, line={90}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={88: private function executeTest( string sql, array comments, string seperatorWhitespace ){<br>
89: _executeTest( arguments.sql, arguments.comments,<br>
<b>90: arguments.seperatorWhitespace & ", no extra" );</b><br>
91: _executeTest( " " & chr( 10 ) & arguments.sql, arguments.comments,<br>
92: arguments.seperatorWhitespace & ", leading SPACE LF" );<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall2(/test/tickets/LDEV4867.cfc:67)}, codePrintPlain={65: private function doTest( array sql, array comments ){
66: var newlines = ArrayToList( arguments.sql, chr( 10 ) );
67: executeTest( newlines, comments, "[LF]" );
68:
69: var paddedNewlines = ArrayToList( arguments.sql, " " & chr( 10 ) & " " );
}, column={0}, line={67}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={65: private function doTest( array sql, array comments ){<br>
66: var newlines = ArrayToList( arguments.sql, chr( 10 ) );<br>
<b>67: executeTest( newlines, comments, "[LF]" );</b><br>
68: <br>
69: var paddedNewlines = ArrayToList( arguments.sql, " " & chr( 10 ) & " " );<br>
}}, {Raw_Trace={tickets.ldev4867_cfc$cf.udfCall1(/test/tickets/LDEV4867.cfc:60)}, codePrintPlain={58: doTest( [ "SELECT engine"," from qry", "where id = :id", "/* foo ? :do */" ],
59: [ "/* foo ? :do */" ]
60: );
61: });
62: });
}, column={0}, line={60}, template={/home/runner/work/Lucee/Lucee/test/tickets/LDEV4867.cfc}, id={??}, type={cfml}, codePrintHTML={58: doTest( [ "SELECT engine"," from qry", "where id = :id", "/* foo ? :do */" ],<br>
59: [ "/* foo ? :do */" ]<br>
<b>60: );</b><br>
61: });<br>
62: }); <br>
}}, {Raw_Trace={system.basespec_cfc$cf.udfCall3(/testbox/system/BaseSpec.cfc:567)}, codePrintPlain={565: } else {
566: // Execute the Spec body
567: arguments.spec.body( data=arguments.spec.data );
568: }
569: } catch( any e ){
}, column={0}, line={567}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={565: } else {<br>
566: // Execute the Spec body<br>
<b>567: arguments.spec.body( data=arguments.spec.data );</b><br>
568: }<br>
569: } catch( any e ){<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:204)}, codePrintPlain={202: suiteStats=thread.suiteStats,
203: runner=this
204: );
205:
206: // verify call backs
}, column={0}, line={204}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={202: suiteStats=thread.suiteStats,<br>
203: runner=this <br>
<b>204: );</b><br>
205: <br>
206: // verify call backs<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:75)}, codePrintPlain={73: testResults=arguments.testResults,
74: bundleStats=bundleStats,
75: callbacks=arguments.callbacks
76: );
77:
}, column={0}, line={75}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={73: testResults=arguments.testResults,<br>
74: bundleStats=bundleStats,<br>
<b>75: callbacks=arguments.callbacks</b><br>
76: );<br>
77: <br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:364)}, codePrintPlain={362: // Run via BDD Style
363: new testbox.system.runners.BDDRunner( options=variables.options, testbox=this )
364: .run( target, arguments.testResults, arguments.callbacks );
365: }
366: else{
}, column={0}, line={364}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={362: // Run via BDD Style<br>
363: new testbox.system.runners.BDDRunner( options=variables.options, testbox=this )<br>
<b>364: .run( target, arguments.testResults, arguments.callbacks );</b><br>
365: }<br>
366: else{<br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:170)}, codePrintPlain={168: for( var thisBundlePath in variables.bundles ){
169: // Execute Bundle
170: testBundle( bundlePath=thisBundlePath, testResults=results, callbacks=arguments.callbacks );
171: }
172:
}, column={0}, line={170}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={168: for( var thisBundlePath in variables.bundles ){<br>
169: // Execute Bundle<br>
<b>170: testBundle( bundlePath=thisBundlePath, testResults=results, callbacks=arguments.callbacks );</b><br>
171: }<br>
172: <br>
}}, {Raw_Trace={system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:98)}, codePrintPlain={96: if( !isNull( arguments.reporter ) ){ variables.reporter = arguments.reporter; }
97: // run it and get results
98: var results = runRaw( argumentCollection=arguments );
99: // store latest results
100: variables.result = results;
}, column={0}, line={98}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={96: if( !isNull( arguments.reporter ) ){ variables.reporter = arguments.reporter; }<br>
97: // run it and get results<br>
<b>98: var results = runRaw( argumentCollection=arguments );</b><br>
99: // store latest results<br>
100: variables.result = results;<br>
}}, {Raw_Trace={_testrunner_cfc$cf.udfCall(/test/_testRunner.cfc:283)}, codePrintPlain={281: ,onSpecEnd = function( bundle, testResults, suite, spec ){}*/
282: } // callbacks
283: ); // report = tb.run
284:
285: // get the result
}, column={0}, line={283}, template={/home/runner/work/Lucee/Lucee/test/_testRunner.cfc}, id={??}, type={cfml}, codePrintHTML={281: ,onSpecEnd = function( bundle, testResults, suite, spec ){}*/<br>
282: } // callbacks<br>
<b>283: ); // report = tb.run</b><br>
284: <br>
285: // get the result<br>
}}, {Raw_Trace={run_tests_cfm180$cf.call(/test/run-tests.cfm:284)}, codePrintPlain={282: systemOutput(NL & "-------------- Start Tests -----------", true);
283: silent {
284: testResults = new test._testRunner().runTests();
285: }
286:
}, column={0}, line={284}, template={/home/runner/work/Lucee/Lucee/test/run-tests.cfm}, id={??}, type={cfml}, codePrintHTML={282: systemOutput(NL & "-------------- Start Tests -----------", true);<br>
283: silent {<br>
<b>284: testResults = new test._testRunner().runTests();</b><br>
285: }<br>
286: <br>
}}]