Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set current user on viewtools velocity context for email subaction (#28352) #28373

Merged

Conversation

dsolistorres
Copy link
Contributor

Proposed Changes

  • Changed executeAction() method from EmailActionlet class to set the velocity context using the http request, that allow to the view tools list dotcontent to get the current user from the request attributes.
  • Added a new integration test to check that the velocity context has the appropriate user and dotcontent viewtool works as expected.

Checklist

  • Tests

@erickgonzalez erickgonzalez added this pull request to the merge queue Apr 30, 2024
Merged via the queue into master with commit 5ee7692 Apr 30, 2024
26 checks passed
@erickgonzalez erickgonzalez deleted the issue-28352-fix-velocity-context-for-email-subaction branch April 30, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Send Email sub-action doesn't set the current user to $dotcontent viewtool
4 participants