[ http://jira.magnolia.info/browse/MAGNOLIA-1841?page=comments#action_15058 ] Philipp Bracher commented on MAGNOLIA-1841: -------------------------------------------
I removed deprecated marker from Context.getUser() and AbstractContext.getUser() calls now Security.getSystemUser() by default. > activation: workflow runs into ClassCastException because WorkItemContext is > not a UserContext > ---------------------------------------------------------------------------------------------- > > Key: MAGNOLIA-1841 > URL: http://jira.magnolia.info/browse/MAGNOLIA-1841 > Project: Magnolia > Issue Type: Bug > Affects Versions: 3.5 RC1 > Reporter: Philipp Bracher > Assigned To: Philipp Bracher > Priority: Blocker > Fix For: 3.5 RC1 > > > ... it failed. See stacktrace below. > Doesn't seem to be related to the fixes I've made for openwfe-1.7.2.1, so I > commited the pom changes anyway. > cheers > greg > ERROR info.magnolia.module.admininterface.commands.ActivationCommand > ActivationCommand.java(execute:105) 15.11.2007 01:24:15 can't activate > java.lang.ClassCastException: info.magnolia.module.workflow.WorkItemContext > at info.magnolia.context.MgnlContext.getUser(MgnlContext.java:92) > at > info.magnolia.module.admininterface.commands.BaseActivationCommand.getSyndicator(BaseActivationCommand.java:60) > at > info.magnolia.module.admininterface.commands.ActivationCommand.execute(ActivationCommand.java:101) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia.info/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
