Moodle
  1. Moodle
  2. MDL-14591 META: Develop new Portfolio API
  3. MDL-20896

add a hook for portfolio plugins to check for supported mimetypes.

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Portfolio API
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Rank:
      15453

      Activity

      Penny Leach created issue -
      Hide
      Dan Poltawski added a comment -

      I'm supposed to be testing this aren't I?

      I need to implement file_mime_check() by the looks of it.

      Show
      Dan Poltawski added a comment - I'm supposed to be testing this aren't I? I need to implement file_mime_check() by the looks of it.
      Hide
      Penny Leach added a comment -
      • check mime based on mimetype of format output (eg generated csv) rather than depending on a stored_file object
      Show
      Penny Leach added a comment - check mime based on mimetype of format output (eg generated csv) rather than depending on a stored_file object
      Hide
      Penny Leach added a comment -

      should be able to test now

      Show
      Penny Leach added a comment - should be able to test now
      Hide
      Dan Poltawski added a comment -

      The hook seems to get called in the case of an image attached to a forum post. But not if I try and save the forum post.

      Show
      Dan Poltawski added a comment - The hook seems to get called in the case of an image attached to a forum post. But not if I try and save the forum post.
      Martin Dougiamas made changes -
      Field Original Value New Value
      Workflow jira [ 34184 ] MDL Workflow [ 45623 ]
      Martin Dougiamas made changes -
      Workflow MDL Workflow [ 45623 ] MDL Full Workflow [ 73957 ]
      Hide
      Michael de Raadt added a comment -

      Thanks for reporting this issue.

      We have detected that this issue has been inactive for over a year. It was reported as affecting versions that are no longer supported.

      If you believe that this issue is still relevant to current versions (2.5 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

      Michael d.

      TW9vZGxlDQo=

      Show
      Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year. It was reported as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.5 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d. TW9vZGxlDQo=
      Hide
      Michael de Raadt added a comment -

      I'm closing this issue as it has been inactive for over a year has been recorded as affecting versions that are no longer supported.

      This is being done as part of a bulk annual clean-up of issues.

      If you still believe this is an issue in supported versions, please create a new issue.

      Show
      Michael de Raadt added a comment - I'm closing this issue as it has been inactive for over a year has been recorded as affecting versions that are no longer supported. This is being done as part of a bulk annual clean-up of issues. If you still believe this is an issue in supported versions, please create a new issue.
      Michael de Raadt made changes -
      Status Open [ 1 ] Closed [ 6 ]
      Assignee Penny Leach [ mjollnir ]
      Resolution Won't Fix [ 2 ]
      Tester poltawski

        People

        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: