-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Automation, Content Views
-
Tags:
-
Sprint:nxNag Sprint 7.1-2
-
Story Points:3
When invoking the Document.PageProvider operation with the name of a page provider that relies on a search document model an exception is thrown stating the the query cannot be built without a search document model.
curl -u Administrator:Administrator -H 'Content-Type: application/json+nxrequest' -d '{"params":{"providerName":"document_content","queryParams":["12e630e7-3ce7-4a7d-8342-e30858f4bfb7"]}}' http://127.0.0.1:8080/nuxeo/site/automation/Document.PageProvider
produces:
Caused by: org.nuxeo.ecm.core.api.ClientException: Cannot build query of provider 'document_content': no search document model is set
at org.nuxeo.ecm.platform.query.nxql.CoreQueryDocumentPageProvider.buildQuery(CoreQueryDocumentPageProvider.java:255)
- is required by
-
NXP-16093 Finish named parameters integration
- Resolved