[ 
https://issues.apache.org/jira/browse/SLING-11516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated SLING-11516:
------------------------------------
    Description: Currently the Felix Web Console plugin at 
{{/system/console/adapters}} doesn't expose the adaptation from 
{{ResourceResolver}} to {{javax.jcr.Session}} and {{ResourceMapper}} as the 
adapter JSON metadata is not included in the bundle.  (was: Currently the Felix 
Web Console plugin at {{/system/console/adapters}} doesn't expose the 
adaptation from {{ResourceResolver}} to {{javax.jcr.Session}} and 
{{ResourceMapper}} as both are not leveraging the AdapterFactory SPI but rather 
implement this directly in the {{adaptTo}} method 
(https://github.com/apache/sling-org-apache-sling-resourceresolver/blob/b2ae3d5685d76498d353465c63e739b8745cf314/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverImpl.java#L648-L654).
 The annotations processed by 
https://github.com/apache/sling-adapter-annotations should be used to generate 
an according metadata JSON file which is evaluated by the Felix Web Console 
plugin.)

> Generate adapter metadata json for adaptations natively supported by 
> ResourceResolverImpl
> -----------------------------------------------------------------------------------------
>
>                 Key: SLING-11516
>                 URL: https://issues.apache.org/jira/browse/SLING-11516
>             Project: Sling
>          Issue Type: Bug
>          Components: ResourceResolver
>    Affects Versions: Resource Resolver 1.9.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: Resource Resolver 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently the Felix Web Console plugin at {{/system/console/adapters}} 
> doesn't expose the adaptation from {{ResourceResolver}} to 
> {{javax.jcr.Session}} and {{ResourceMapper}} as the adapter JSON metadata is 
> not included in the bundle.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to