[
https://issues.apache.org/jira/browse/SOLR-17009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17772008#comment-17772008
]
Chris M. Hostetter commented on SOLR-17009:
-------------------------------------------
{{JSONWriterTest.testWfrJacksonJsonWriter}} has failed 2 of it's most recent 8
jenkins runs ... *both times on a windows box.*
Most recent jenkins failure...
{noformat}
org.apache.solr.response.JSONWriterTest > testWfrJacksonJsonWriter FAILED
org.junit.ComparisonFailure: expected:<testFun( {[
"param0":"v0",
"param1":42]
} )> but was:<testFun( {[
"param0":"v0",
"param1":42
]
} )>
at
__randomizedtesting.SeedInfo.seed([65D8820725DD86C4:B655E1D863A6152]:0)
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at
org.apache.solr.response.JSONWriterTest.jsonEq(JSONWriterTest.java:52)
at
org.apache.solr.response.JSONWriterTest.testWfrJacksonJsonWriter(JSONWriterTest.java:331)
...
2> NOTE: reproduce with: gradlew test --tests
JSONWriterTest.testWfrJacksonJsonWriter -Dtests.seed=65D8820725DD86C4
-Dtests.locale=id -Dtests.timezone=Asia/Makassar -Dtests.asserts=true
-Dtests.file.encoding=windows-1252 {noformat}
> json.wrf parameter ignored in JacksonJsonWriter
> -----------------------------------------------
>
> Key: SOLR-17009
> URL: https://issues.apache.org/jira/browse/SOLR-17009
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: JSON Request API
> Affects Versions: 9.3
> Reporter: Chris Stewart
> Assignee: Alex Deparvu
> Priority: Blocker
> Fix For: 9.4
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> When requesting json output in 9.3 using json.wrf to trigger a JSONP request,
> the return is not wrapped in a function and is instead returned as a plain
> JSON object
> My test cases are:
> wt=json&json.wrf=ng_jsonp_callback_0 on Solr 9.3.0
> { "responseHeader":{ "status":0, "QTime":9, "params":{
> wt=json&json.wrf=ng_jsonp_callback_0 on Solr 7.3.1
> ng_jsonp_callback_0({ "responseHeader":{ "status":400, "QTime":206,
> "params":{
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]