Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-786

SessionPool logs out session on release when locking or observation is not supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • JCR Base 2.0.2
    • JCR Base 2.0.4
    • JCR
    • None

    Description

      There should be a check whether the repository actually supports locking before a query is executed to get the lock tokens. Similarly the SessionPool should first check if observation is supported by the repository before the ObservationManager is obtained. In both cases it may happen that a repository that does not support one or the other feature throws a RepositoryException, which causes the session to be closed. This effectively makes the SessionPool useless in that case.

      Attachments

        1. SLING-786.patch
          9 kB
          Marcel Reutegger

        Activity

          People

            fmeschbe Felix Meschberger
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: