Country can't be added via CSV
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Confirmed
|
Low
|
Unassigned |
Bug Description
When you add the country field into the CSV file to upload to Mahara it doesn't yield the desired result. I tried to use the country code "NZ". The upload of the CSV worked fine, but when I logged in as the user, it showed the following error message:
[WAR] 06 (lib/pieforms/
Call stack (most recent first):
log_
error(1024, "Invalid value for select "country"", "/home/
trigger_
Pieform:
pieform_
Pieform-
Pieform-
Pieform:
pieform(
I suspect that is due to the fact that the field is not a free form field but requires a specific value for the country. The human-readable name can't be used as that is different in each language. There are 2 possibilities:
1. Remove the field from the CSV file upload options.
2. Provide more information on what values the field can take.