You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2016/12/08 11:29:58 UTC
[jira] [Created] (SLING-6377) When adapting within a Collection use
ModelFactory instead of adaptTo()
Konrad Windszus created SLING-6377:
--------------------------------------
Summary: When adapting within a Collection use ModelFactory instead of adaptTo()
Key: SLING-6377
URL: https://issues.apache.org/jira/browse/SLING-6377
Project: Sling
Issue Type: Bug
Components: Extensions
Affects Versions: Sling Models Impl 1.3.4
Reporter: Konrad Windszus
Assignee: Konrad Windszus
Currently whenever some adaptation is necessary in {{ModelAdapterFactory.adaptIfNecessary}} the {{internalCreateModel}} should be used instead of adaptTo() whenever possible. This is currently not the case for adaptations within a {{Collection}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)