Load order of activiti and activiti-spring-security

80 views
Skip to first unread message

pressec

unread,
Feb 1, 2012, 9:08:02 AM2/1/12
to Grails Activiti Plugin Discussion Forum
Hello,

I just run into a problem while running a new application with both
activiti and activiti-spring-security plugins. In some development
machines the application executed as expected but in others the
indentiyService was not initialized correctly and didn't use the
custom identityService factory and manager classes injected by
activiti-spring-security.

After some investigation I noticed that those installations showing
the problem activiti-spring-security plugin was being loaded BEFORE
activiti plugin during server start-up sequence.

As a bypass I modified the ActivitiSpringSecurityGrailsPlugin in
".grails" folder and added :

def loadAfter = ['activiti']

to force the right order and this fixed it.

I'm not a grails nor activiti expert and I'm not sure if I'm missing
something or this is a bug.

Does anyone have any idea of what could be wrong?

Thanks in advance.

Chee Kin Lim

unread,
Feb 15, 2012, 11:19:38 PM2/15/12
to Grails Activiti Plugin Discussion Forum
Thanks for reporting this issue and proposed a solution, an issue
report is created at https://github.com/limcheekin/activiti-spring-security/issues/1
to track this issue.

Best regards,
Chee Kin
Reply all
Reply to author
Forward
0 new messages