Public bug reported: https://mahara.org/interaction/forum/topic.php?id=9122
Mahara 22.04 and Moodle 4.0 When you set up a MNet connection from scratch, the MNet connection screen stays open and can't fetch the information from Moodle. When you exit out of the modal and go to a different page, the error message is: [WAR] 2b (lib/errors.php:530) [Error]: Cannot access private property PublicKey::$certificate at /var/www/ws-mahara-testing- mahara/releases/20220530001044/lib/peer.php:90 To replicate: 1. Enable networking on your Mahara site. 2. Enable networking on Moodle and set up the connection to Mahara. 3. Set up the XML-RPC connection on Mahara in an institution with the necessary details from Moodle. 4. Click 'Save' in the modal window. Results: - Expected: The Moodle settings are saved and the public key from Moodle fetched. - Actual: The modal window stays open and no settings are saved. When navigating to a new page, the error above is displayed. For Catalyst testing: - Mahara site: https://ws-mahara-testing-mahara.sites.catlearn.nz/ - Mahara institution: MNet - Moodle site: https://webservices-moodle.catalystdemo.co.nz/admin/mnet/index.php (goes directly to the Networking section) This only happens on a new site. Upgrading with an existing MNet connection worked. Marking this as 'Medium' importance because MNet is on its way out and organisations should be switching to LTI as there are more functionalities available. ** Affects: mahara Importance: Medium Status: Confirmed ** Affects: mahara/22.04 Importance: Medium Status: Confirmed ** Affects: mahara/22.10 Importance: Medium Status: Confirmed ** Also affects: mahara/22.10 Importance: Medium Status: Confirmed ** Also affects: mahara/22.04 Importance: Undecided Status: New ** Changed in: mahara/22.04 Importance: Undecided => Medium ** Changed in: mahara/22.04 Status: New => Confirmed ** Changed in: mahara/22.10 Milestone: None => 22.10.0 ** Changed in: mahara/22.04 Milestone: None => 22.04.2 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: mahara-contributors https://bugs.launchpad.net/bugs/1976203 Title: Can't connect to Moodle via MNet when setting up connection anew Status in Mahara: Confirmed Status in Mahara 22.04 series: Confirmed Status in Mahara 22.10 series: Confirmed Bug description: https://mahara.org/interaction/forum/topic.php?id=9122 Mahara 22.04 and Moodle 4.0 When you set up a MNet connection from scratch, the MNet connection screen stays open and can't fetch the information from Moodle. When you exit out of the modal and go to a different page, the error message is: [WAR] 2b (lib/errors.php:530) [Error]: Cannot access private property PublicKey::$certificate at /var/www/ws-mahara-testing- mahara/releases/20220530001044/lib/peer.php:90 To replicate: 1. Enable networking on your Mahara site. 2. Enable networking on Moodle and set up the connection to Mahara. 3. Set up the XML-RPC connection on Mahara in an institution with the necessary details from Moodle. 4. Click 'Save' in the modal window. Results: - Expected: The Moodle settings are saved and the public key from Moodle fetched. - Actual: The modal window stays open and no settings are saved. When navigating to a new page, the error above is displayed. For Catalyst testing: - Mahara site: https://ws-mahara-testing-mahara.sites.catlearn.nz/ - Mahara institution: MNet - Moodle site: https://webservices-moodle.catalystdemo.co.nz/admin/mnet/index.php (goes directly to the Networking section) This only happens on a new site. Upgrading with an existing MNet connection worked. Marking this as 'Medium' importance because MNet is on its way out and organisations should be switching to LTI as there are more functionalities available. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1976203/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp