Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-3185

Ensure that Seam enable restlets close temporary CoreSession instances they create

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.6, 5.2 M4
    • Fix Version/s: 5.1.x, 5.2 GA
    • Component/s: Seam / JSF UI

      Description

      Most restlet implementations provided by default assume that they are run in a given conversation context that might allow them to reuse documentManager. If documentManager is not available, the create it and don't bother to close the session afterward.

      Instead they should:

      • try to reuse any documentManager instance available from the context if it matches the requested repo
      • if not, create a temporary CoreSession instance independantly of the Seam stateful contexts and take care to close it in a finally block as usual

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day, 1 hour
                1d 1h
                Remaining:
                Remaining Estimate - 1 day, 1 hour
                1d 1h
                Logged:
                Time Spent - Not Specified
                Not Specified