Page MenuHomeIn-Portal Phabricator

INP-1523 - Populate user info, when sending membership expiration e-mails

Authored by alex on Dec 6 2015, 7:42 AM.


Test Plan
NOTE: Repeat steps below on Clean Install and after Upgrade (simulate upgrade by running added SQLs from upgrades.sql file by injecting TABLE_PREFIX into them).
NOTE: Confirm, that contents of all sent out e-mails is identical in both cases (clean install and upgrade).

Part 1 (expiration reminder)

  1. go to Admin Console
  2. go to ConfigurationUsersGeneral section
  3. check Advanced User Management checkbox and save changes
  4. go to User ManagementUsers section
  5. create a user
  6. open that user for editing
  7. go to Groups tab
  8. use Add toolbar button to add user to the Subscribers group
  9. from group list open membership record, that was just created for editing
  10. set membership expiration to 5 days from now (the period in days should be smaller then value of Group Membership Expiration Reminder (days) setting in ConfigurationUsersGeneral section)
  11. save changes to user record
  12. run the in-portal scheduled-task:run membership_expiration command from command line
  13. go to Email Queue tab after switching to the User ManagementMailings section
  14. click on Process Queue toolbar button
  15. confirm, that both e-mails were sent out and all info is present in there

Part 2 (expiration)

  1. repeat all of above steps, but this time enter membership expiration date in past

Diff Detail

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

Event Timeline

alex updated this revision to Diff 427.Dec 6 2015, 7:42 AM
alex retitled this revision from to INP-1523 - Populate user info, when sending membership expiration e-mails.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1523.
alex updated this revision to Diff 428.Dec 6 2015, 7:45 AM
alex edited edge metadata.

Forgot to add language pack changes

glebs accepted this revision.Dec 24 2015, 3:27 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Dec 24 2015, 3:27 AM
This revision was automatically updated to reflect the committed changes.