RTC PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
22 Dec 2023

Fixes hardening measure introduced in #23716

Summary of Changes

In the linked PR I forbid submitting by adding an exception into the validation process. Unfortunately I didn't make the method return false in order to make sure that message was used. This fixes that.

Alongside it improves the documentation around the getError's method. It hasn't returned any strings since 3.0 (and even maybe further - I wasn't sure about how the JException objects were exactly being passed around).

Testing Instructions

Code review

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar wilsonge wilsonge - open - 22 Dec 2023
avatar wilsonge wilsonge - change - 22 Dec 2023
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Dec 2023
Category Libraries
avatar SniperSister
SniperSister - comment - 22 Dec 2023

Looks good from my side!

avatar richard67 richard67 - test_item - 22 Dec 2023 - Tested successfully
avatar richard67
richard67 - comment - 22 Dec 2023

I have tested this item ✅ successfully on c246730

Code review.


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

avatar richard67
richard67 - comment - 22 Dec 2023

Looks good from my side!

@SniperSister Does this count as successful test? If so, could you mark the test result in the issue tracker, or shall I do that for you, so I can set RTC?

avatar SniperSister SniperSister - test_item - 22 Dec 2023 - Tested successfully
avatar SniperSister
SniperSister - comment - 22 Dec 2023

I have tested this item ✅ successfully on c246730


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

avatar richard67 richard67 - change - 22 Dec 2023
Status Pending Ready to Commit
Labels Added: PR-4.4-dev
avatar richard67
richard67 - comment - 22 Dec 2023

RTC


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

avatar MacJoom MacJoom - change - 23 Dec 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-12-23 16:52:02
Closed_By MacJoom
Labels Added: RTC
avatar MacJoom MacJoom - close - 23 Dec 2023
avatar MacJoom MacJoom - merge - 23 Dec 2023

Add a Comment

Login with GitHub to post a comment