Moodle
  1. Moodle
  2. MDL-32172

error on random content (branch) jump on content page

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.5, 2.2.2
    • Fix Version/s: 2.1.6, 2.2.3
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a lesson.
      2. Add a content page and set 2 content description
      3. Add question page
      4. Add an End of branch page
      5. Edit the content page, set content 1 jump options to unseen question and content 2 to random content page.

      Attempt the lesson as student, make sure when selecting random content button it doesn't produce any error.

      Show
      Create a lesson. Add a content page and set 2 content description Add question page Add an End of branch page Edit the content page, set content 1 jump options to unseen question and content 2 to random content page. Attempt the lesson as student, make sure when selecting random content button it doesn't produce any error.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
    • Rank:
      38917

      Description

      When content page jump is set to 'random branch (content)it produces Undefined variable: branchtables error.

        Issue Links

          Activity

          Hide
          Ankit Agarwal added a comment -

          Hi Rosie,
          Changes makes sense.

          Green flag for integration.
          Thanks

          Show
          Ankit Agarwal added a comment - Hi Rosie, Changes makes sense. Green flag for integration. Thanks
          Hide
          Rossiani Wijaya added a comment -

          Thanks Ankit.

          Sending it off to integration review.

          Show
          Rossiani Wijaya added a comment - Thanks Ankit. Sending it off to integration review.
          Hide
          Dan Poltawski added a comment -

          Thanks Rosie, this has been integrated now

          Show
          Dan Poltawski added a comment - Thanks Rosie, this has been integrated now
          Hide
          Adrian Greeve added a comment -

          Tested in all branches. After asking Rossie how to replicate the problem, this patch fixes that problem.
          Thanks.

          Show
          Adrian Greeve added a comment - Tested in all branches. After asking Rossie how to replicate the problem, this patch fixes that problem. Thanks.
          Hide
          Eloy Lafuente (stronk7) added a comment -

          And this has landed upstream, finally! Yay!

          תודה רבה && شكرا جزيلا



          Closing, ciao

          Show
          Eloy Lafuente (stronk7) added a comment - And this has landed upstream, finally! Yay! תודה רבה && شكرا جزيلا Closing, ciao

            People

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

              Dates

              • Created:
                Updated:
                Resolved: