When artefact type is set to 'video' in the database, Undefined index: video/mp4 error is shown
Bug #1722132 reported by
Pat
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
17.04 |
Fix Released
|
High
|
Unassigned | ||
17.10 |
Fix Released
|
High
|
Robert Lyon |
Bug Description
When artefact type is set to 'video' in the database, "Undefined index: video/mp4" error is shown but when an artefact type is set to 'file' there is no error.
$validtypes = self::video_
From Robert:
1) why are we now saving mp4 as 'file' rather than 'video'
2) why does $validtypes not have 'video/mp4' as an option
Changed in mahara: | |
milestone: | none → 17.10rc2 |
importance: | Undecided → High |
assignee: | nobody → Robert Lyon (robertl-9) |
status: | New → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
milestone: | 17.10rc2 → 17.10.0 |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/8107