Moodle
  1. Moodle
  2. MDL-26069

Add detection of invalid file processing

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Files API
    • Labels:
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      The problem is that some developers omit the file postprocessing or do it incorrectly.

      Solution proposal:
      1/ Tweak format_text() to replace all draftfiles.php links with error placeholder.
      2/ Tweak file preprocessing to replace stale draftfiles links with error placeholder.

      We should also add some debugging info for developers.

        Gliffy Diagrams

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Petr Skoda
              Reporter:
              Petr Skoda
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: