You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "rombert (via GitHub)" <gi...@apache.org> on 2026/02/02 16:02:39 UTC
Re: [PR] SLING-13077 ExportServlet cannot adapt model to javax SlingHttpServletRequest when running in a Jakarta Servlet environment [sling-org-apache-sling-models-jacksonexporter]
rombert commented on PR #18:
URL: https://github.com/apache/sling-org-apache-sling-models-jacksonexporter/pull/18#issuecomment-3836107246
What makes this test different from the ones I added in the Sling starter is that it does implicit injection of the request object, as documented at https://sling.apache.org/documentation/bundles/models.html#constructor-injection-1 , see https://github.com/apache/sling-org-apache-sling-models-jacksonexporter/blob/ffd1bc74726601977a97320919e998a9298c0098/src/test/java/org/apache/sling/models/jacksonexporter/it/testbundle/exporter/BaseRequestComponent.java#L61-L64 .
This may hit a different code path than the ones I fixed with https://github.com/apache/sling-org-apache-sling-engine/pull/68 and https://github.com/apache/sling-org-apache-sling-models-impl/pull/77
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org