Reviewed:  https://reviews.mahara.org/4539
Committed: 
http://gitorious.org/mahara/mahara/commit/c7acae363df4b0410e18b1166a04e076c641fc17
Submitter: Robert Lyon ([email protected])
Branch:    master

commit c7acae363df4b0410e18b1166a04e076c641fc17
Author: Robert Lyon <[email protected]>
Date:   Tue Mar 31 12:43:15 2015 +1300

Allowing video/x-ms-asf be a valid .wmv mimetype (Bug 1364609)

The video/x-ms-asf mimetype is valid for .asf, .wmv and .wma files
but as we can't map more than one extension to the same mimetype I've
added a little hack allowing the .wmv and .wma extensions to also
include the video/x-ms-asf mimtype in the list of valid mimetypes.

Change-Id: I706d86c9bc0c5d0c0eb6ab0a09b1f16208557b00
Signed-off-by: Robert Lyon <[email protected]>

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

Title:
  Problem with windows wmv files having filetype video/x-ms-asf

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Sometimes windows files that have the wmv (or wma) extension are being
  saved in the artefact_file_files table as mimetype video/x-ms-asf
  rather than video/x-ms-wmv (or audio/x-ms-wma).

  This means you can't add them to a video (or audio) block.

  Also for some reason, which I'm yet to work out, sites  can have data
  where a wmv video with mimetype video/x-ms-asf is connected to an
  internalmedia block.

  I'm not sure if they had the correct mimetype of video/x-ms-wmv in the
  past and somehow the mimetype changed or whether the mahara system
  allowed them to  connect files with mimetype video/x-ms-asf.

  
  But as there can be bad existing data on a site it needs to be fixed up 
pretty soon so that more bad data is created.

  Looking at a myportfolio site there were 11,200 internal media blocks
  and 2,500 of them had a connection to a wmv file that had video/x-ms-
  asf as the mimetype (about 1/5th)

  So it seems to be more than an isolated incidence.

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to