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

Admin/environment.xml MUST be 100% the same in all supported (normal and security) branches.

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
    • MDL-77829-401
    • Hide

      Note

      • This test needs to be performed with all branches (39, 311, 400 and 401).
      • You might want to switch you PHP version to 7.4 for the stable 39 when creating a new instance

      Testing stable branches (39, 311, 400 & 401).

      1. Install a MOODLE_XXX_STABLE site.
      2. Go to Admin -> Server -> Environment.
      3. Verify that there aren't errors related to Assignment 2.2 is in use.
      4. Add a new record to mdl_assignment table by running the following SQL:

        INSERT INTO mdl_assignment (name, intro) VALUES ('Assignment 2.2', 'Assignment 2.2 intro');

      5. Apply the patch
      6. In the "Moodle version" drop down, select "Moodle 4.2 and upwards".
      7. Verify that you see an error of Assignment 2.2 is in use
      8. If there are other versions in the "Moodle version" drop down... verify that only "4.2 and upwards" shows the error.
      9. Repeat all the steps above for the other branches.
      Show
      Note This test needs to be performed with all branches (39, 311, 400 and 401). You might want to switch you PHP version to 7.4 for the stable 39 when creating a new instance Testing stable branches (39, 311, 400 & 401). Install a MOODLE_XXX_STABLE site. Go to Admin -> Server -> Environment. Verify that there aren't errors related to Assignment 2.2 is in use . Add a new record to mdl_assignment table by running the following SQL: INSERT INTO mdl_assignment ( name , intro) VALUES ( 'Assignment 2.2' , 'Assignment 2.2 intro' ); Apply the patch In the "Moodle version" drop down, select "Moodle 4.2 and upwards". Verify that you see an error of Assignment 2.2 is in use If there are other versions in the "Moodle version" drop down... verify that only "4.2 and upwards" shows the error. Repeat all the steps above for the other branches.
    • 1
    • Team Hedgehog 2023 Sprint 1.4

      We need to make sure that Admin/environment.xml must be 100% the same so we will need to backport the new environment check from MDL-72350

      1. We have added a new environmental check as part of this issue (check_mod_assignment).
      2. Environmental checks MUST be backported to all supported branches (normal and security).
      3. Only that way somebody using Moodle 4.0.x (for example) will be able to look in advance if their site is going to have any problem.

        1. error_311.png
          error_311.png
          102 kB
        2. error_311-1.png
          error_311-1.png
          102 kB
        3. error_39.png
          error_39.png
          77 kB
        4. error_39-1.png
          error_39-1.png
          77 kB
        5. error_400.png
          error_400.png
          68 kB
        6. error_400-1.png
          error_400-1.png
          68 kB
        7. error_401.png
          error_401.png
          80 kB
        8. error_401-1.png
          error_401-1.png
          80 kB
        9. links-need-attention.png
          links-need-attention.png
          312 kB
        10. MDL-77829.png
          MDL-77829.png
          193 kB

            stevani.andolo@moodle.com Stevani Andolo
            stevani.andolo@moodle.com Stevani Andolo
            David Woloszyn David Woloszyn
            Andrew Lyons Andrew Lyons
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 34 minutes
                1d 1h 34m

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