RTC PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
24 Feb 2024

Pull Request for Issue #42841.

Summary of Changes

The current code in BannerHelper classs bind a Joomla\CMS\Date\Date object to :date parameter and could cause application crashes in some environments as reported in the issue. This PR changes code so that the parameter is bound by a string in Datetime format instead (same with the code in other places in Joomla). I also rename the variable to $nowDate to imply that this is current date time (also, same with similar codes use in other places in Joomla)

Testing Instructions

  • Use Joomla 4.4
  • Apply patch
  • Access to Banners Management screen from administrator area of your site

Actual result BEFORE applying this Pull Request

Sometime application crashes

Expected result AFTER applying this Pull Request

Always works, no crashes anymore.

Link to documentations

Please select:

  • No documentation changes for docs.joomla.org needed
  • No documentation changes for manual.joomla.org needed
avatar joomdonation joomdonation - open - 24 Feb 2024
avatar joomdonation joomdonation - change - 24 Feb 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Feb 2024
Category Administration com_banners
avatar alikon alikon - test_item - 24 Feb 2024 - Tested successfully
avatar alikon
alikon - comment - 24 Feb 2024

I have tested this item ✅ successfully on 183b562

code review


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

avatar chmst chmst - test_item - 24 Feb 2024 - Tested successfully
avatar chmst
chmst - comment - 24 Feb 2024

I have tested this item ✅ successfully on 183b562

code review


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

avatar chmst chmst - change - 24 Feb 2024
Status Pending Ready to Commit
avatar chmst
chmst - comment - 24 Feb 2024

RTC


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

avatar Quy Quy - change - 24 Feb 2024
Labels Added: RTC PR-4.4-dev
avatar laoneo laoneo - change - 28 Feb 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-02-28 11:12:32
Closed_By laoneo
avatar laoneo laoneo - close - 28 Feb 2024
avatar laoneo laoneo - merge - 28 Feb 2024
avatar laoneo
laoneo - comment - 28 Feb 2024

Thanks!

Add a Comment

Login with GitHub to post a comment