Page MenuHomeIn-Portal Phabricator
  • Changed Files
  • branches/5.3.x/core/kernel/utility/email.php

INP-1519 - Generate e-mail access key after subject is prepared
ClosedPublic

Authored by alex on Nov 17 2015, 2:17 PM.

Details

Test Plan
  1. enable error logging (either change /system/config.php file by hand or use installation wizard step to do it)
  2. go to Admin Console
  3. go to ConfigurationWebsiteRegional section
  4. open English language for editing
  5. uncomment commented-out tag at the bottom of "HTML Version" field in "E-mail Design Templates" sub-section
  6. save changes
  7. go to User ManagementUsers section
  8. create an active user and remember it's ID
  9. in the /index.php file place this code after $application->Init(); line: $application->emailUser('USER.SUBSCRIBE', 3); (replace 3 with ID of created user)
  10. open Front-End in another tab
  11. switch to Admin Console
  12. go to User ManagementMailings section
  13. go to Email Queue tab
  14. confirm, that there 1 record in there
  15. press Process Queue button
  16. check inbox e-mail address specified during user creation before
  17. confirm, that it contains the link in the footer, that has non-empty "authkey" url parameter
  18. go to Logs & ReportsSystem Log section
  19. confirm, that notice about missing Subject key isn't present in there

Diff Detail

Repository
rINP In-Portal
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex updated this revision to Diff 418.Nov 17 2015, 2:17 PM
alex retitled this revision from to INP-1519 - Generate e-mail access key after subject is prepared.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1519.
glebs accepted this revision.Dec 2 2015, 2:01 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Dec 2 2015, 2:01 AM
This revision was automatically updated to reflect the committed changes.