Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-26069

Add detection of invalid file processing

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  21/Feb/11