Moodle
  1. Moodle
  2. MDL-9250

Radom Branch page jump in classic branch chokes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.1
    • Component/s: Lesson
    • Labels:
      None
    • Environment:
      Localhost, recently updated 1.8 complete install package
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      Working on the lesson demo for demo.moodle. Created what I call a classic branch in a lesson. This segment had 6 pages, (Starting) Branch table, 2 branch tables, 2 question tables and Ending Branch (logical order was BT, BT, Q,BT, Q, EB. Starting Branch table had two jumps, random branch page (relative) and lesson start page (absolute). When I selected the random branch button it crashed. Turned on debug and attached screen shot below.

      I changed the starting branch jump to "Random question in a branch" and did not get the problem.

      I went then went to second branch table in the logical order. Added various jumps. Next Page, Start of Lesson, Random page, unseen question. All jumps worked except Random page. I check this as admin and then as a real student. Same.

      It also appeared that the Random question in a branch jump went to a random page (BT & Qs). Could be that I did not check this as a student only as admin this caused it. As you know, there are 3 jumps possible in a classic branch, wonder if this is 1 too many?

      Best Chris

        Gliffy Diagrams

          Activity

          Hide
          Mark Nielsen added a comment -

          The parameter in the function definition was incorrectly named. Thanks for the report and the great screen shot!

          Show
          Mark Nielsen added a comment - The parameter in the function definition was incorrectly named. Thanks for the report and the great screen shot!
          Hide
          Chris Collman added a comment -

          Hi Mark, Downloaded Monday AM and you fixed it. Thanks for your efforts. Chris

          Show
          Chris Collman added a comment - Hi Mark, Downloaded Monday AM and you fixed it. Thanks for your efforts. Chris

            People

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

              Dates

              • Created:
                Updated:
                Resolved: