← Back to team overview

mahara-contributors team mailing list archive

[Bug 1722132] [NEW] When artefact type is set to 'video' in the database, Undefined index: video/mp4 error is shown

 

Public bug reported:

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_mime_types(); does not have mp4

>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

** Affects: mahara
     Importance: Undecided
         Status: New

** Attachment added: "artefacttype-error.txt"
   https://bugs.launchpad.net/bugs/1722132/+attachment/4965395/+files/artefacttype-error.txt

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

Title:
  When artefact type is set to 'video' in the database, Undefined index:
  video/mp4 error is shown

Status in Mahara:
  New

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_mime_types(); does not have mp4

  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

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


Follow ups