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

AJAX Shifting of Blocks Incorrect - Movement doesn't match DB activity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.8, 1.8.1, 1.8.2
    • Fix Version/s: None
    • Component/s: JavaScript
    • Labels:
      None
    • Environment:
      Windows Server 2003 (32 and 64-bit)
      Apache 2.2, IIS6
      PHP 5.2.2

      Description

      When AJAX is enabled globally (and in the user profile), when a section is moved from one area to another, instead of seeing the intended behavior of having the sections below shift down one to make room for the moved section, the section being moved seems to take on the value of the old section and the old section takes the value of the dropped section. In the database, they simply switch values. This causes much confusion to users in the interface when trying to re-arrange sections in the course. It just seems to be a misunderstanding of what should be happening between the AJAX interface (which appears to update correctly, as sections are shifted properly), and the database (which switches values between blocks being modified instead of changing them to reflect what's happening in AJAX). Hopefully this makes a little sense. If you need access to test this on our server, please contact me and we'll arrange it. I don't know how isolated this problem is, but because of the lack of it seeming to be widely known, I suspect it's something in my installation (which has no customizations to the AJAX interface or anything relating to section movement). Block movements are fine also.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                6 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: