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

error on random content (branch) jump on content page

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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:

      Description

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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              ankit_frenz Ankit Agarwal added a comment -

              Hi Rosie,
              Changes makes sense.

              Green flag for integration.
              Thanks

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

              Thanks Ankit.

              Sending it off to integration review.

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

              Thanks Rosie, this has been integrated now

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

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

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

              And this has landed upstream, finally! Yay!

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



              Closing, ciao

              Show
              stronk7 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:
                    Fix Release Date:
                    14/May/12