sling-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/SLING-6658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15929981#comment-15929981
] 

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: https://issues.apache.org/jira/browse/SLING-6658
>             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
(v6.3.15#6346)

Mime
View raw message