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-7584) Only the last DisposalCallbackRegistry is disposed when multiple models are adapted in the same request
Date Mon, 16 Apr 2018 18:23:00 GMT

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

Justin Edelson commented on SLING-7584:
---------------------------------------

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)

Mime
View raw message