Details
-
Improvement
-
Resolution: Duplicate
-
Major
-
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>
To be ported to 2.x
Checklists
Acceptance criteria
Attachments
Issue Links
- clones
-
MGNLGROOVY-66 Support using JCR session within Groovy console
-
- Closed
-
- duplicates
-
MGNLGROOVY-75 CLONE - Support using JCR session within Groovy console - port
-
- Closed
-