[ https://issues.apache.org/jira/browse/SLING-6346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson reassigned SLING-6346: ------------------------------------- Assignee: Justin Edelson > Exporter always return null if related sling model is adapted from > SlingHttpServletReqeust > ------------------------------------------------------------------------------------------ > > Key: SLING-6346 > URL: https://issues.apache.org/jira/browse/SLING-6346 > Project: Sling > Issue Type: Bug > Components: Extensions > Affects Versions: Sling Models Impl 1.3.4 > Reporter: Burkhard Pauli > Assignee: Justin Edelson > Labels: easyfix > Fix For: Sling Models Impl 1.3.6 > > > The new exporter feature for Sling Models always return null if the > adaptables is set to SlingHttpServletReqeust for the relevant Sling Model. > Example: > {code} > @Model(adaptables = SlingHttpServletRequest.class, > adapters = TestModel.class, > resourceType = "core/wcm/components/test") > @Exporter(name = "jackson", > extensions = "json") > public class TestModel { > @ValueMapValue > private String test; > public String getTest() { > return test; > } > } > {code} > Issue will be fixed with: > https://github.com/apache/sling/pull/187 -- This message was sent by Atlassian JIRA (v6.3.4#6332)