← Back to team overview

mahara-contributors team mailing list archive

[Bug 1827812] Re: The Site admin email for new registrants is sent in wrong language

 

Commit hash: 1dd1bdf98e6e4d5aec54a58b2d3f5a624bfb692f
Environment tested: Master
Browser tested: Chrome
Theme used:  Raw

PRECONDITIONS: 
------------------------ 
1) The following languages are installed on the Mahara site
   a) English
   b) German: Deutsch
   c) Basque: Euskara 
   d) French: Français
   e) Māori
   f) Slovakia: Slovensko
   g) Japanese: 日本語
2) Institution exists with the following settings 
   a) Registration allowed = yes
   b) Confirm registration = yes
3) Site admin has language set to English

TEST STEPS: 
------------------------ 
1) New student registers in "German: Deutsch"  Language  
2) New student registers in "Basque: Euskara" Language  
3) New student registers in "French: Français" Language  
4) New student registers in "Māori" Language  
5) New student registers in "Slovakia: Slovensko" Language  
6) New student registers in "Japanese: 日本語" Language  
7) Verify that the registrant receives and email in the language that they registered in ✔
8) Verify that the Site admin receives an email for each of the students registering in English ✔
9) Log in as Site admin  ensure that new users are approved for registration into Instution
10) Ensure that each new user logs in and sets password so they are registered 
11) Browse to main menu > Engage > People 
12) Request friendship from each of the new students 
13) Verify that the user receives and email in the language that they registered in ✔

Catalyst QA Approved ✔

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1827812

Title:
  The Site admin email for new registrants is sent in wrong language

Status in Mahara:
  In Progress
Status in Mahara 19.04 series:
  Confirmed
Status in Mahara 19.10 series:
  In Progress

Bug description:
  TITLE:  The Site admin email for new registrants is sent in wrong
  language

  BUG SUMMARY: When there are multiple languages set for a site and a
  new registrant wants to register in a language other than English, an
  email should be sent to the Site admin in the Site admins preferred
  language.

  ==============================================

  PRECONDITIONS: 
  ------------------------ 
  1) Site with a couple of languages installed (German French & English)
  2) Site options for Institutions - "Confirm registration" toggle is set to = Yes (Force all institutions to approve new self-registered accounts) 
  3) Institution Exists (Institution One) and has the following 
      a) Registration allowed toggle is set to = Yes 
  4) Site admin's preferred language is set to English 

  TEST STEPS: 
  ------------------------ 
  1) Person wanting to register for an account changes the interface language to something other than english (site admin stays on english) and registers for an account.
  2) Verify Site admin receives an email message in the language that the Site admin has set.

  EXPECTED RESULT: 1) The admin should get the notification in the language they have set, not the one that the registrant had set.
  2) The registrant should receive an email of their registration in the same language they used when submitting the application.

  ACTUAL RESULT: 1) The languages sent to the Admin are the languages that the Registrant registered in & The languages sent to the Registrant are the languages that the Registrant registered in ✘
  2) The registrant received an email of their registration in the same language they used when submitting the application.✔

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1827812/+subscriptions


References