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

Trying to change one block multiplicity from "yes" throws error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.4, 1.9, 2.0
    • Fix Version/s: 1.8.5, 1.9, 2.0
    • Component/s: Blocks
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      I was playing with blocks when I pressed the "change" link in the "multiple" column of the admin->modules->manage blocks page.

      And I've got this:

      Incorrect integer value: '' for column 'multiple' at row 1

      UPDATE mdl_block SET name = 'tag_flickr', version = '2007080800', cron = '0', lastcron = '0', visible = '1', multiple = '' WHERE id = '33'

      • line 1686 of lib/dmllib.php: call to debugging()
      • line 55 of admin/blocks.php: call to update_record()

      same for all multiple blocks.

      Ciao

      P.D.: I haven't tested this for < Moodle 1.8 but perhaps it should be checked too!

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Mar/08