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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • 1.8, 1.8.1, 1.8.2
    • JavaScript
    • None
    • Windows Server 2003 (32 and 64-bit)
      Apache 2.2, IIS6
      PHP 5.2.2

      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.

        1. section_moving_including_ajax_callbacks.patch
          4 kB
          Nicklas Lindgren
        2. section_moving.patch
          1 kB
          Nicklas Lindgren

            moodle.com Moodle HQ
            chrispotter Chris Potter (Inactive)
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.