RTC PR-5.1-dev Pending

User tests: Successful: Unsuccessful:

avatar heelc29
heelc29
27 Feb 2024

Followup Pull Request for #42735 .

Summary of Changes

Fix the return value in case the exception is caught

Testing Instructions

code review

Old code -> count empty array -> 0:

} catch (RuntimeException $e) {
$messages = [];
// Still render the error message from the Exception object
$app->enqueueMessage($e->getMessage(), 'error');
}
$countUnread = \count($messages);

avatar heelc29 heelc29 - open - 27 Feb 2024
avatar heelc29 heelc29 - change - 27 Feb 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Feb 2024
Category Modules Administration
avatar Quy Quy - test_item - 27 Feb 2024 - Tested successfully
avatar Quy
Quy - comment - 27 Feb 2024

I have tested this item ✅ successfully on fcb9c2b


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42906.

avatar ceford ceford - test_item - 28 Feb 2024 - Tested successfully
avatar ceford
ceford - comment - 28 Feb 2024

I have tested this item ✅ successfully on fcb9c2b

Code review - looks fine to me.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42906.

avatar Quy Quy - change - 28 Feb 2024
Status Pending Ready to Commit
Labels Added: PR-5.1-dev
avatar Quy
Quy - comment - 28 Feb 2024

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42906.

avatar bembelimen bembelimen - change - 29 Feb 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-02-29 08:57:42
Closed_By bembelimen
Labels Added: RTC
avatar bembelimen bembelimen - close - 29 Feb 2024
avatar bembelimen bembelimen - merge - 29 Feb 2024
avatar bembelimen
bembelimen - comment - 29 Feb 2024

Thank you!

Add a Comment

Login with GitHub to post a comment