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 2009/03/17 14:40:50 UTC
[jira] Closed: (SLING-890) JcrModifiablePropertyMap remove method
doesn't remove
[ https://issues.apache.org/jira/browse/SLING-890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-890.
----------------------------------
Resolution: Fixed
Fix Version/s: JCR Resource 2.0.4
Applied the suggested patch in revision 755238 to remove the property from the cache if it is removed.
Thanks Chris!
> JcrModifiablePropertyMap remove method doesn't remove
> -----------------------------------------------------
>
> Key: SLING-890
> URL: https://issues.apache.org/jira/browse/SLING-890
> Project: Sling
> Issue Type: Bug
> Components: JCR Resource
> Affects Versions: JCR Resource 2.0.2
> Reporter: christian
> Assignee: Carsten Ziegeler
> Priority: Minor
> Fix For: JCR Resource 2.0.4
>
> Attachments: SLING-890.patch
>
>
> Call to this Map remove method does not remove from the map, nor are the removals persisted on call to its save method.
> I guess this is to to a mistake in the method at ln 108.
> final Object oldValue = this.cache.get(key);
> Here the read vealues are just accesses but not removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.