You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2013/09/04 10:40:51 UTC

[jira] [Updated] (OAK-993) Improve backward compatibility for Item.save and Item.refresh

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

Michael Dürig updated OAK-993:
------------------------------

    Summary: Improve backward compatibility for Item.save and Item.refresh  (was: Improve backward compatibilityfor Item.save and Item.refresh)
    
> Improve backward compatibility for Item.save and Item.refresh
> -------------------------------------------------------------
>
>                 Key: OAK-993
>                 URL: https://issues.apache.org/jira/browse/OAK-993
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: jcr
>            Reporter: Michael Dürig
>
> As described in OAK-132 and OAK-141, both methods are implemented by delegating back to the respective {{Session}} methods and writing a warning to the log. This might introduce difficult to diagnose errors for those clients that rely on being able to only save/refresh parts of the transient space. A better solution might be to detect whether a save/refresh covers all transient changes and only then delegate back to the respective {{Session}} operation but throw an {{UnsupportedRepositoryException}} otherwise. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira