← Back to team overview

mahara-contributors team mailing list archive

[Bug 1731333] A change has been merged

 

Reviewed:  https://reviews.mahara.org/8271
Committed: https://git.mahara.org/mahara/mahara/commit/6b23cca1388b2db7eed9524720a1c7874a98375d
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 6b23cca1388b2db7eed9524720a1c7874a98375d
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Fri Nov 10 09:20:48 2017 +1300

Bug 1731333: Use NZ if no country defined for required country prompt

behatnotneeded

Change-Id: I6c5c485b790d6da64ff72c82fada1e83fc6fcb8f
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
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/1731333

Title:
  When requiring profile information for 'country' get error if site has
  also not set country value

Status in Mahara:
  Fix Committed

Bug description:
  To test:

  1) Go to Configure site and make sure that Site setting -> Country = No country selected
  2) Go to Extensions -> Internal configuration screen and tick 'Country' under Mandatory fields and under Administration user search and save
  3) Go to Admin -> Users and find a user that doesn't have a country set
  4) Login as that user (can masquerade)

  Before patch:
  Should get [WAR] 84 (lib/pieforms/pieform.php:1343) Invalid value for select "country"

  After patch:
  No warning and field should default to 'New Zealand'

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


References