You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "christian (JIRA)" <ji...@apache.org> on 2009/03/17 14:26:50 UTC

[jira] Created: (SLING-890) JcrModifiablePropertyMap remove method doesn't remove

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
            Priority: Minor


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.


[jira] Closed: (SLING-890) JcrModifiablePropertyMap remove method doesn't remove

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Assigned: (SLING-890) JcrModifiablePropertyMap remove method doesn't remove

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reassigned SLING-890:
--------------------------------------

    Assignee: Carsten Ziegeler

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


[jira] Updated: (SLING-890) JcrModifiablePropertyMap remove method doesn't remove

Posted by "christian (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

christian updated SLING-890:
----------------------------

    Attachment: SLING-890.patch

Patch fixing the issue

> 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
>            Priority: Minor
>         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.