Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
QA-9267 : Allow the use of a site user for the email action.
Browse files Browse the repository at this point in the history
  • Loading branch information
fbourasse authored and bpapez committed Feb 13, 2017
1 parent 1617301 commit bcb42ea
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ public ActionResult doExecute(HttpServletRequest req, final RenderContext render
}
}
if (actionNode!=null) {
JCRUserNode to = userManagerService.lookupUser(node.getSession().getNode(actionNode.getProperty("j:to").getValue().getString()).getName());
final String site = node.getResolveSite().getSiteKey();
JCRUserNode to = userManagerService.lookupUser(node.getSession().getNode(actionNode.getProperty("j:to").getValue().getString()).getName(), site, true);
Set<String> reservedParameters = Render.getReservedParameters();
final Map<String, List<String>> formDatas = new HashMap<String, List<String>>();
Set<Map.Entry<String, List<String>>> set = parameters.entrySet();
Expand Down

0 comments on commit bcb42ea

Please sign in to comment.