Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.2.1
-
Fix Version/s: 3.2.3
-
Component/s: Database SQL/XMLDB, Messages
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_32_STABLE
-
Fixed Branches:MOODLE_32_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-58050-master-msgtrans -
Pull Master Diff URL:
-
Sprint:3.3 sprint 5
Description
While testing MDL-56679 I spotted the following errors in my error_log:
[Wed Feb 22 11:43:28.627568 2017] [:error] [pid 29269] [client ::1:52378] Potential coding error - active database transaction detected during
|
request shutdown:\n* line 302 of /message/classes/api.php: call to moodle_database->start_delegated_transaction()\n* line 108 of /message/index
|
.php: call to core_message\\api::get_conversations()\n, referer: http://glux/mdk/i33/my/
|
The method get_conversations() starts delegated transaction but in certain circumstances it exits early before committing it.
Attachments
Issue Links
- Discovered while testing
-
MDL-56679 lib/classes/notification.php default object from empty value PHP warning
-
- Closed
-