Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-993

Improve backward compatibility for Item.save and Item.refresh

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11
    • jcr
    • None

    Description

      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.

      Attachments

        Activity

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: