Error when call LIST_DOCUMENTS after upgrade from 2022.02 to 2022.06

We are in the progress of upgrading A12 from 2022.02 to 2022.06.
After the upgrade, we met this error when calling the LIST_DOCUMENTS.

Caused by: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://localhost:8983/solr: Expected mime type application/octet-stream but got text/html.

Error 404 Not Found

HTTP ERROR 404 Not Found

URI:/solr/A12CddCore/select
STATUS:404
MESSAGE:Not Found
SERVLET:default

at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:635) ~[solr-solrj-8.11.2.jar:8.11.2 17dee71932c683e345508113523e764c3e4c80fa - mdrob - 2022-06-13 11:27:56]
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:266) ~[solr-solrj-8.11.2.jar:8.11.2 17dee71932c683e345508113523e764c3e4c80fa - mdrob - 2022-06-13 11:27:56]
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248) ~[solr-solrj-8.11.2.jar:8.11.2 17dee71932c683e345508113523e764c3e4c80fa - mdrob - 2022-06-13 11:27:56]
at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:214) ~[solr-solrj-8.11.2.jar:8.11.2 17dee71932c683e345508113523e764c3e4c80fa - mdrob - 2022-06-13 11:27:56]
at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1035) ~[solr-solrj-8.11.2.jar:8.11.2 17dee71932c683e345508113523e764c3e4c80fa - mdrob - 2022-06-13 11:27:56]
at com.mgmtp.a12.dataservices.search.internal.solr.AbstractSolrSearchService.query(AbstractSolrSearchService.java:134) ~[dataservices-core-34.1.1.jar:na]
… 198 common frames omitted

I read the migration instruction and saw this:

  • LIST_DOCUMENTS operation no longer checks document read permission for every document. To re-enable this behavior use configuration key mgmtp.a12.dataservices.jsonRpc.listDocuments.additionalReadScopeCheck.enabled

So I try to add it to the application properties and the LIST_DOCUMENTS is working as normal.

Is there any way to not add the mgmtp.a12.dataservices.jsonRpc.listDocuments.additionalReadScopeCheck.enabled property and the LIST_DOCUMENTS still working? Because as I understand from the document, I have nothing to do with or don’t understand the checks document read permission for every document behavior.

We use
a12SolrVersion: 8.11.1-v2
a12DataServicesVersion: 34.1.1

Hi @quynh-wintry-root,

This issue should be fixed in 34.1.2 already please use it.