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

Choice activity bug when editing/deleting a block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7.6, 2.8.4
    • 2.7.5, 2.8.3, 2.9
    • Blocks
    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • wip_MDL-49184_m29_choice
    • Hide

      Run behat tests for @mod_choice

      Manual steps:
      ------
      Log in as Site Administrator
      1. Create a new course
      2. Enrol yourself (i.e the site administrator) into the course
      3. Goto course
      4. Submit "Turn editing on" button and keep it, do not turn off.
      5. Add a "Choice" activity module to this course
      6. Attempt the Choice module by clicking on the activity
      7. Add a new block (any) and attempt to edit the block and save changes or delete this block

      OLD BEHAVIOUR
      =========
      The error message is displayed
      "This block (id=X) does not exist on this page (http://site.com/mod/choice/view.php?id=X)."

      EXPECTED BEHAVIOUR
      ==================
      The page should return to http://site.com/mod/choice/view.php?id=X

      Show
      Run behat tests for @mod_choice Manual steps: ------ Log in as Site Administrator 1. Create a new course 2. Enrol yourself (i.e the site administrator) into the course 3. Goto course 4. Submit "Turn editing on" button and keep it, do not turn off. 5. Add a "Choice" activity module to this course 6. Attempt the Choice module by clicking on the activity 7. Add a new block (any) and attempt to edit the block and save changes or delete this block OLD BEHAVIOUR ========= The error message is displayed "This block (id=X) does not exist on this page ( http://site.com/mod/choice/view.php?id=X )." EXPECTED BEHAVIOUR ================== The page should return to http://site.com/mod/choice/view.php?id=X

      There's a bug in the Choice activity module that prevents an administrator from editing or deleting a block on the Choice view page if
      the administrator is also enrolled as a learner on the course containing the Choice activity.
      Error message:

      This block (id=X) does not exist on this page (http://site.com/mod/choice/view.php?id=X).

            skodak Petr Skoda
            oleg Oleg Demeshev
            Sam Hemelryk Sam Hemelryk
            Dan Poltawski Dan Poltawski
            John Okely John Okely
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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