Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-4784

Updating the topic's title deletes the topic's grid image

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.5.2, 2.6
    • Fix Version/s: 2.5.1, 2.6
    • Component/s: None
    • Labels:
      None
    • Plugin Version:
      2013110504
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE

      Description

      After upgrading from Moodle 2.4 to Moodle 2.5 and also upgrading the course/format/grid to latest 2.5 branch (https://github.com/gjb2048/moodle-courseformat_grid/tree/MOODLE_25), the following issue started:

      Updating the topic's title causes the grid image to be deleted. (Actually, change it's properties in the mdl_files table to 'draft' and rename it).

      Workaround: Upload the image again, after topic title change. Or change its 'displayedimageindex' to '0' in the format_grid_icon table.

      Note: The images disappear sporadically because there is a set cache time on the image, so the browser will cache the image until that expires. Which is why this is so difficult to spot because one action one day only becomes apparent the next.

        Attachments

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Jul/13