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:38:00 UTC

[jira] [Updated] (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 updated SLING-11123:
-------------------------------------
    Description: 
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.

> 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)