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

Upgrade phpxmlrpc to 4.8.1

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 4.1
    • 4.1
    • Libraries
    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-76334-master
    • Hide

      The goal of this test is to ensure that it is possible for Moodle users to connect with another Moodle site using MNet.

      Pre-requisites

      • This test needs to be executed on a PHP8 environment.

      Setup

      Please note: it's possible that you see some notices during the setup part depending of the debugging levels in your site. You can ignore them as far as the configuration works as expected.

      1. Setup a couple of Moodle sites:
        • site1 running older version, for example: Moodle 4.0.x (MOODLE_400_STABLE).
        • site2 running the version to be released (master).
      2. Ensure that they have different $CFG->sessioncookiepath setting either on config.php or in Administration > Server > Session handling
      3. In both sites, enable and configure MNet as explained in the doc page.
      4. - Please note: You don't need to configure the "remote enrolments" steps, only the "get users roaming" ones.
      5. Create user1 in site1 and user2 in site2.

      Testing

      1. Log in as user1 in site1 and go to "Site home".
      2. In the "Network servers" block (that has been added as per the configuration instructions, click on site2.
      3. Verify that now you are welcome to site2 as user1.
      4. Log in as user2 in site2 and go to "Site home".
      5. In the "Network servers" block (that has been added as per the configuration instructions, click on site1.
      6. Verify that now you are welcome to site1 as user2.
      7. Verify that now user1 and user2 do exist in both sites and SSO/roaming between them works as expected.
      Show
      The goal of this test is to ensure that it is possible for Moodle users to connect with another Moodle site using MNet . Pre-requisites This test needs to be executed on a PHP8 environment . Setup Please note: it's possible that you see some notices during the setup part depending of the debugging levels in your site. You can ignore them as far as the configuration works as expected. Setup a couple of Moodle sites: site1 running older version, for example: Moodle 4.0.x (MOODLE_400_STABLE). site2 running the version to be released (master). Ensure that they have different $CFG->sessioncookiepath setting either on config.php or in Administration > Server > Session handling In both sites, enable and configure MNet as explained in the doc page. - Please note: You don't need to configure the "remote enrolments" steps, only the "get users roaming" ones. Create user1 in site1 and user2 in site2 . Testing Log in as user1 in site1 and go to "Site home". In the "Network servers" block (that has been added as per the configuration instructions, click on site2 . Verify that now you are welcome to site2 as user1. Log in as user2 in site2 and go to "Site home". In the "Network servers" block (that has been added as per the configuration instructions, click on site1 . Verify that now you are welcome to site1 as user2 . Verify that now user1 and user2 do exist in both sites and SSO/roaming between them works as expected.

    Description

      Detected by MDL-75100, and reported upstream, there are a few PHP 8.1 fixes to be applied to the xmlrpc library. They have been already released in version 4.8.1.

      They are pretty minor and, in fact, don't affect to our current uses (MNet) of the library, but better have a PHP 8.1 compliant version in core.

      https://github.com/gggeek/phpxmlrpc/compare/4.8.0...4.8.1

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              marina Marina Glancy
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Andrew Lyons Andrew Lyons
              John Edward Pedregosa John Edward Pedregosa
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 20 minutes
                  2h 20m

                  Clockify

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