You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2022/02/04 14:46:00 UTC

[jira] [Resolved] (SLING-11123) Multiple puts with same key are not handled correctly

     [ https://issues.apache.org/jira/browse/SLING-11123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-11123.
--------------------------------------
    Resolution: Fixed

Fixed in https://github.com/apache/sling-org-apache-sling-api/commit/9232ef9b6a4f025f58622d2d2c3b41fa5c29fb18

Added additional test

> Multiple puts with same key are not handled correctly
> -----------------------------------------------------
>
>                 Key: SLING-11123
>                 URL: https://issues.apache.org/jira/browse/SLING-11123
>             Project: Sling
>          Issue Type: Improvement
>          Components: API
>    Affects Versions: API 2.24.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: API 2.24.2
>
>
> If multiple puts with the same key to a LazyBindings are done then it depends on the type of value whether the put is handled correctly.
> If first a concrete value is put, followed by a supplier, then always the concrete value is returned. But the value from the supplier should be returned instead.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)