Support using JCR session within Groovy console
-----------------------------------------------

                 Key: MGNLGROOVY-66
                 URL: http://jira.magnolia-cms.com/browse/MGNLGROOVY-66
             Project: Magnolia Groovy Module
          Issue Type: Improvement
      Security Level: Public
    Affects Versions: 1.2.4
            Reporter: Jaroslav Simak
             Fix For: 1.2.x


Right now it is not possible to use JCR session directly, Repository exception 
is thrown. See code below.
{noformat}
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>
{noformat}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to