← Back to team overview

mahara-contributors team mailing list archive

[Bug 1647885] A change has been merged

 

Reviewed:  https://reviews.mahara.org/7298
Committed: https://git.mahara.org/mahara/mahara/commit/2c3797e2ae0a2179848765db4e7565d9f4fc91fd
Submitter: Ghada El-Zoghbi (ghada@xxxxxxxxxxxxxxx)
Branch:    16.10_STABLE

commit 2c3797e2ae0a2179848765db4e7565d9f4fc91fd
Author: Dmitrii Metelkin <dmitriim@xxxxxxxxxxxxxxx>
Date:   Wed Dec 7 15:20:24 2016 +1100

Bug 1647885: Fix updating mime types on install/upgrade

Also, update mp4_video type to mp4 in the internalmedia block
configuration settings.

And, remove the id column from the artefact_file_mime_types table. It's
not required with the addition of the primary key made up of the
mimetype and description columns.


behatnotneeded

Change-Id: I607ec4aaabf8edb6fa5fa9731890a40ac62a0af0

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

Title:
  Not all file types and mime types get populated on install/upgrade

Status in Mahara:
  New

Bug description:
  Please include (if relevant) in your bug report:
  - exact version of Mahara: 16.10_STABLE
  - operating system: Linux
  - database: Postgres

  Steps to replicate:

  1. Install a fresh mahara.
  2. Execute following SQL on DB
  SELECT * FROM artefact_file_mime_types WHERE mimetype = 'video/mp4';

  Expected result:
   mimetype  | description 
  -----------+-------------
   video/mp4 | m4a
   video/mp4 | m4b
   video/mp4 | m4p
   video/mp4 | m4r
   video/mp4 | m4v
   video/mp4 | mp4
  (6 rows)

  
  Actual result:
   mimetype  | description 
  -----------+-------------
   video/mp4 | m4v

  (1 rows)

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


References