← Back to team overview

mahara-contributors team mailing list archive

[Bug 1731333] A patch has been submitted for review

 

Patch for "master" branch: https://reviews.mahara.org/8271

-- 
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:
  In Progress

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