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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.2, 2.6
    • 2.5.1, 2.6
    • None
    • None
    • 2013110504
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • 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

            gb2048 Gareth J Barnard
            nadavkav Nadav Kavalerchik
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8/Jul/13