Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-934

Deprecate RepositoryJobExecutionContext#get*Session and replace with RepositoryJobExecutionContext#create*Session

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.26.00
    • Component/s: None
    • Labels:
      None

      Description

      Since the sessions returned by the RepositoryJobExecutionContext#getSession(Credentials) and RepositoryJobExecutionContext#getSystemSession() methods are newly created sessions that must be logged out by the caller, it is an improvement to name these methods createSession and createSystemSession instead. This way, it is more clear that the sessions must be logged out.

        Attachments

          Activity

            People

            Assignee:
            jsheriff Junaidh Kadhar Sheriff
            Reporter:
            uhommes Unico Hommes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: