Loading groups via csv throwing error Undefined index: allowarchives
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Robert Lyon | ||
1.10 |
Fix Released
|
Medium
|
Unassigned | ||
15.04 |
Fix Released
|
Medium
|
Robert Lyon |
Bug Description
The problem seems to be if you upload groups via a csv file with a group that contains role = course.
Test with a file similar to the csv file structured
shortname,
groupone,Group One,standard,admin
grouptwo,Group Two,course,all
groupalpha,Group A,standard,admin
groupthree,Group Three,course,admin
groupbeta,Group B,standard,admin
Also the 'allowarchives' needs to be a valid column type for the csv.
The error stack is:
log_
error(8, "Undefined index: allowarchives", "/home/
group_
uploadcsv_
call_
Pieform-
Pieform:
pieform(
Changed in mahara: | |
status: | Confirmed → Fix Committed |
no longer affects: | mahara/1.10 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
tags: | added: usermanualupdate |
tags: | removed: usermanualupdate |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/3734