Permalink
Browse files

UP-3526 Adding profile mapper ID to bean resolving in ProfileEvaluator

  • Loading branch information...
1 parent 5efddee commit b4009e48f2fee91bff0237ba41fe99541fa23b2d @bourey bourey committed Jul 24, 2012
@@ -55,7 +55,7 @@ public boolean isApplicable(IPerson person) {
final ApplicationContext applicationContext = ApplicationContextLocator.getApplicationContext();
final IPortalRequestUtils portalRequestUtils = applicationContext.getBean(IPortalRequestUtils.class);
- final IProfileMapper profileMapper = applicationContext.getBean(IProfileMapper.class);
+ final IProfileMapper profileMapper = applicationContext.getBean("profileMapper", IProfileMapper.class);
final HttpServletRequest request = portalRequestUtils.getCurrentPortalRequest();
final String currentFname = profileMapper.getProfileFname(person, request);

0 comments on commit b4009e4

Please sign in to comment.