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

Cannot export to Mahara portfolio on php8

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • Hide

      Requirements

      • All the tests must be done with Moodle running with PHP 8, and with the 3 branches (311, 400, master).
      • The tests require to be able to install multiple moodle instances and setup MNet.
      • The tests require to be able to install Mahara and setup MNet.
      • It's important to have the apache logs at hand and also display errors enabled. To, along the whole process, verify that there isn't any serialisation problem anymore.

      Testing Moodle <==> Moodle SSO / roaming (MDL-74394)

      • Repeat the testing instructions of MDL-74394
      • Verify they pass ok and there isn't any serialisation problem in logs.

      Testing Moodle ==> Mahara portfolio (MDLQA-314)

      • Repeat the testing instructions of MDLQA-314
      • Verify they pass ok and there isn't any serialisation problem in logs.

      Note to the reviewers / tester: I was not sure if copying / pasting the instructions here was better, but think it's clearer if they are just referenced and the originals are not touched. Specially for future issues. If you think that it's better to have the complete versions here, I'm happy to do, just tell me.

      Show
      Requirements All the tests must be done with Moodle running with PHP 8, and with the 3 branches (311, 400, master). The tests require to be able to install multiple moodle instances and setup MNet. The tests require to be able to install Mahara and setup MNet. It's important to have the apache logs at hand and also display errors enabled. To, along the whole process, verify that there isn't any serialisation problem anymore. Testing Moodle <==> Moodle SSO / roaming ( MDL-74394 ) Repeat the testing instructions of MDL-74394 Verify they pass ok and there isn't any serialisation problem in logs. Testing Moodle ==> Mahara portfolio ( MDLQA-314 ) Repeat the testing instructions of MDLQA-314 Verify they pass ok and there isn't any serialisation problem in logs. Note to the reviewers / tester: I was not sure if copying / pasting the instructions here was better, but think it's clearer if they are just referenced and the originals are not touched. Specially for future issues. If you think that it's better to have the complete versions here, I'm happy to do, just tell me.

      Attempting to export content from Moodle to a linked Mahara instance via the portfolio/mahara plugin fails on php8.

      In PHP 8.0, openssl_pkey_new function returns an instance of OpenSSLAsymmetricKey class instead of OpenSSL key resources. This object is not serialisable (by design). However, the portfolio exporter relies on serialising data which includes these keys.

            stronk7 Eloy Lafuente (stronk7)
            aolley Adam Olley
            Nobody Nobody
            Jun Pataleta Jun Pataleta
            Andrew Lyons Andrew Lyons
            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, 1 minute
                1d 1h 1m

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