-
Bug
-
Resolution: Fixed
-
Minor
-
1.9.15
-
None
-
PHP 5.1.6.
-
Any
-
MOODLE_19_STABLE
-
MOODLE_19_STABLE
Description of the issue
---------------------------------------------------------------------------------
Going to Site Administration|Modules|Activities|Adobe Connect and clicking 'Test Connection' in a production environment (no debugging on) stops after creating the 'testmeetingtest' meeting, but never gets any further and at a glance, you might not realise that not all the tests completed (see attachment 1. ac-testconnection-nodebugging.png). This results in a 'testmeetingtest' meeting on the Adobe Connect server (which will need to be manually deleted - otherwise the 'test connection' will fail the next time as it tries to create a duplicate testmeetingtest meeting on the server) and the remaining test tasks do not complete.
If you delete 'testmeetingtest' manually and rerun the test connection script, you will see that there is a PHP error (see attachment 2. ac-testconnection-alldebugging.png).
Expected Behaviour
---------------------------------------------------------------------------------
- Successfully complete 'test connection' (including creating AND deleting 'testmeetingtest' meeting on the server)
Resolution
---------------------------------------------------------------------------------
To resolve the issue, delete 'testmeetingtest' from the Adobe Connect server (if it exists) and apply the patch from http://tracker.moodle.org/browse/CONTRIB-3288 (see attachment 3. success.png).
This issue is caused by the same PHP 5.1.6 bug which caused the issue described in http://tracker.moodle.org/browse/CONTRIB-3288
The answer lies here: https://bugs.php.net/bug.php?id=42082
If a node list has no elements, $nodelist->length evaluates to int(0). If this is the case, in PHP 5.1.6, empty($nodelist->length) incorrectly evaluates to false, hence the !empty check failing....
This won't be an issue for Moodle 2.x as the minimum required version of PHP for Moodle 2.X is PHP 5.1.6. according to http://docs.moodle.org/20/en/Installing_Moodle#Requirements
Patch and github repo
---------------------------------------------------------------------------------
Please see http://tracker.moodle.org/browse/CONTRIB-3288 for a patch and link to a github repo
- will be (partly) resolved by
-
CONTRIB-3288 Adobeconnect module does not correctly transfer the moodle defined roles in PHP 5.1.6. (Patch provided)
-
- Resolved
-