[
http://jira.magnolia-cms.com/browse/MAGNOLIA-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Haderka updated MAGNOLIA-834:
---------------------------------
Assignee: (was: Sameer Charles)
Fix Version/s: 3.0 Final
> createVersion failed because MgnlContext.getUser() is null
> ----------------------------------------------------------
>
> Key: MAGNOLIA-834
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-834
> Project: Magnolia
> Issue Type: Bug
> Security Level: Public
> Components: core
> Affects Versions: 3.0 Beta 1
> Environment: M3.0
> Reporter: Ralf Hirning
> Priority: Blocker
> Fix For: 3.0 Final
>
>
> If I want to create a version using Content.addVersion I get an
> java.lang.NullPointerException because in
> VersionManager.createVersion(Content node, Rule rule) line 173:
> versionedNode.getMetaData().setProperty(MetaData.VERSION_USER,
> MgnlContext.getUser().getName());
> MgnlContext.getUser() delivers null
--
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]>
----------------------------------------------------------------