You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2018/04/16 18:23:00 UTC

[jira] [Comment Edited] (SLING-7584) Only the last DisposalCallbackRegistry is disposed when multiple models are adapted in the same request

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

Justin Edelson edited comment on SLING-7584 at 4/16/18 6:22 PM:
----------------------------------------------------------------

pull request: https://github.com/apache/sling-org-apache-sling-models-impl/pull/5


was (Author: justinedelson):
pull request: https://github.com/apache/sling-org-apache-sling-models-impl/pull/5/files

> Only the last DisposalCallbackRegistry is disposed when multiple models are adapted in the same request
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-7584
>                 URL: https://issues.apache.org/jira/browse/SLING-7584
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Sling Models Impl 1.4.6, Sling Models Impl 1.4.8
>            Reporter: Justin Edelson
>            Priority: Major
>             Fix For: Sling Models Impl 1.4.10
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The implementation of SLING-5668 naively assumes that only a single disposal callback registry will be used per request. This is plainly not the case and unfortunately results in only the last callback for a given request to be invoked.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)