← Back to team overview

mahara-contributors team mailing list archive

[Bug 1329807] Re: Mahara 1.9 Fails to Record Correct Mime Types on Leap2 Import or Moodle Export

 

This report is probably a duplicate of
https://bugs.launchpad.net/mahara/+bug/1318995 --The solution proposed
there resolves the problems I make note of here.

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

Title:
  Mahara 1.9 Fails to Record Correct Mime Types on Leap2 Import or
  Moodle Export

Status in Mahara ePortfolio:
  New

Bug description:
  We're running Moodle 2.6.2 and Mahara 1.9 on Linux with MySQL.

  When a user opts to export a discussion forum post to Mahara in HTML
  format, the post turns up in the user's Content/Files/incoming folder,
  but it *fails to appear* for selection in the listing of files
  available through the "Some HTML" plugin. Downloading the file from
  the content area verifies that it actually has been written correctly,
  but even though it appears in the content it remains unavailable in
  the listing of file for selection in the "Some HTML" plugin.
  (Discussion posts that had been uploaded while we were running Mahara
  1.8x *do* appear in that list of files--only forum posts exported
  since the Mahara 1.9 upgrade fail to appear.)

  A look at the Artefact_File_Files table shows that the earlier
  exported posts were, under Mahara 1.8x, identified with a mime type of
  text/html, but that the posts appearing since our Mahara 1.9 upgrade
  are being mapped as application/x-director.  [Changing that mime type
  to text/html in the table has the effect of making the content
  visible, as it should be, in the file selector.]

  The problem also appears when a Leap2 file is imported into the
  system.  While an imported *page* displays its associated imported
  content without any problems, the content itself shows the same mime
  problems: quicktime movies, pdf files, all seem to be misidentified,
  with the result that they appear in the content area, but cannot be
  selected for use on any other pages: the associated plugins ("PDF" and
  "Embedded Media") fail to show in their file selection windows that
  any pdf or mov files exist.

  These problems were *not* at hand with our earlier Mahara 1.8x
  installation, and, insofar as both seem tied to the mapping of the
  files in the Artefact_File_Files table, both seem to share a common
  issue, pointing to the way that mime types get recorded in Mahara 1.9.

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


References