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

rebuild_course_cache() should be called between unit tests

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.2, 2.4
    • Fix Version/s: 2.3.3
    • Component/s: Unit tests
    • Labels:

      Description

      rebuild_course_cache(0, true);

      or

      $course = 'reset';
      get_fast_modinfo($course);

      whatever is more appropriate

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            skodak Petr Skoda added a comment -

            Thanks for the report.

            Show
            skodak Petr Skoda added a comment - Thanks for the report.
            Hide
            marina Marina Glancy added a comment -

            Petr, thanks for the fix.
            format_base did not exist in 2.3

            Show
            marina Marina Glancy added a comment - Petr, thanks for the fix. format_base did not exist in 2.3
            Hide
            skodak Petr Skoda added a comment -

            oh, thanks, removing

            Show
            skodak Petr Skoda added a comment - oh, thanks, removing
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Integrated (23 and master), thanks!

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Integrated (23 and master), thanks!
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Ci tests say this pass.

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Ci tests say this pass.
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            From somewhere within the clouds...

            Congrats, this has been sent upstream and is now part of Moodle (your favorite LMS platform). Many thanks for your awesome collaboration!

            Ciao

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - From somewhere within the clouds... Congrats, this has been sent upstream and is now part of Moodle (your favorite LMS platform). Many thanks for your awesome collaboration! Ciao

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Nov/12