[
https://issues.apache.org/jira/browse/SLING-11656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-11656.
--------------------------------------
Resolution: Fixed
https://github.com/apache/sling-org-apache-sling-engine/commit/aafaa9150737a7404f055c88e4fe6a7b2c349fb9
> Prevent AbstractMethodError in SlingHttpServletRequestImpl
> ----------------------------------------------------------
>
> Key: SLING-11656
> URL: https://issues.apache.org/jira/browse/SLING-11656
> Project: Sling
> Issue Type: Improvement
> Components: Engine
> Affects Versions: Engine 2.12.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: Engine 2.12.2
>
>
> The recent refactoring of Sling's engine can lead to AbstractMethodErrors in
> SlingHttpServletRequestImpl due to old/buggy code. The problem is that the
> updated engine code is counting on a proper servlet 3.0 request
> implementation, returning a proper ServletContext (via getServletContext())
> and that one properly implementing getMimeType().
> It turns out that this is not the case in the wild which then leads to the
> error.
> In addition, even if the request implementations are complete, it is a change
> in implementation - as the mime type service is most likely not used anymore
--
This message was sent by Atlassian Jira
(v8.20.10#820010)