sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Edelson (JIRA)" <>
Subject [jira] [Commented] (SLING-6658) Register models with their implType implicitly
Date Fri, 17 Mar 2017 13:40:41 GMT


Justin Edelson commented on SLING-6658:

applied patch in r1787379. Thanks!

I also changed the class passed to {{adapterImplementations.registerModelToResourceType}}
to be {{implType}} rather than getting the value back out of the array.

> Register models with their implType implicitly
> ----------------------------------------------
>                 Key: SLING-6658
>                 URL:
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Dirk Rudolph
>            Assignee: Justin Edelson
>            Priority: Minor
>             Fix For: Sling Models Impl 1.3.10
> As discussed in SLING-6652, the implementation of the {{@Exporter}} feature introduced
a undocumented assumption of the order of the adapterTypes. 
> This ticket is about always registering any {{@Model}} implicitly with its {{implType}},
if not specified explicitly. This will allow the ExportServlet to always use the {{implType}}
while creating the {{@Model}} its going to export.  

This message was sent by Atlassian JIRA

View raw message