Uploaded image for project: 'Magnolia Groovy Module'
  1. Magnolia Groovy Module
  2. MGNLGROOVY-75

CLONE - Support using JCR session within Groovy console - port

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.0.2
    • 2.0.1
    • None
    • None

    Description

      Right now it is not possible to use JCR session directly, Repository exception is thrown. See code below.

      Welcome to the Magnolia Groovy Interactive Console! Type 'help' for more info and a list of available commands. [Using Groovy version 1.7.10].
      mgnl> s = ctx.getJCRSession("website")
      ===>
      session-admin-905
      mgnl> s.getNode("/")
      RepositoryException: This session has been closed. See the chained exception for a trace of where the session was closed.
      mgnl>
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ochytil Ondrej Chytil
                jsimak Jaroslav Simak
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD