Change By: Milan Divilek (07/Mar/13 3:08 PM)
Summary: Commands that need access to repository fail execution as the systemcontext used has no repository strategy SimpleContext doesn't delegate getJCRSession method
Priority: Blocker Major
Description: The offending line is in class CommandJob, when setting the If we wrap  context  this way MgnlContext.setInstance(new  into  SimpleContext (Components  then getJCRSession method fails on NPE because SimpleContext has no repository strategy . getComponent(SystemContext.class)));
The module descripto must define 
<component>
      <type>info.magnolia.
 We need delegating getJCRSession methods into wrapped context. SystemContext</type>
      <implementation>info.magnolia.context.JCRSessionPerThreadSystemContext</implementation>
    </component>
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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