? ? PHP 8.x Maintainers Checked Pending

User tests: Successful: Unsuccessful:

avatar chmst
chmst
4 Jun 2022

Pull Request for Issue # .

Summary of Changes

Fix deprecated warning in php 8.1.5
Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in administrator\components\com_scheduler\src\Model\TaskModel.php on line 324 (and 325).

Testing Instructions

Go to system / task scheduler. Add a new task, select one of the sample tasks and see the form with warning.
grafik

Actual result BEFORE applying this Pull Request

Deprecated Warning

Expected result AFTER applying this Pull Request

No Warning.

Documentation Changes Required

avatar chmst chmst - open - 4 Jun 2022
avatar chmst chmst - change - 4 Jun 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jun 2022
Category Administration
avatar richard67 richard67 - change - 4 Jun 2022
Title
Fix deprecated waring in taskModel
Fix deprecated warning in taskModel
avatar richard67 richard67 - edited - 4 Jun 2022
avatar alikon alikon - test_item - 5 Jun 2022 - Tested successfully
avatar alikon
alikon - comment - 5 Jun 2022

I have tested this item successfully on 792eb32


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

avatar richard67 richard67 - test_item - 5 Jun 2022 - Tested successfully
avatar richard67
richard67 - comment - 5 Jun 2022

I have tested this item successfully on 792eb32

Finally found the time for a real test.


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

avatar richard67 richard67 - change - 5 Jun 2022
Status Pending Ready to Commit
Labels Added: ? PHP 8.x Maintainers Checked
avatar richard67
richard67 - comment - 5 Jun 2022

RTC


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

avatar bembelimen bembelimen - change - 5 Jun 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-06-05 19:51:57
Closed_By bembelimen
Labels Added: ?
avatar bembelimen bembelimen - close - 5 Jun 2022
avatar bembelimen bembelimen - merge - 5 Jun 2022
avatar bembelimen
bembelimen - comment - 5 Jun 2022

Thx

Add a Comment

Login with GitHub to post a comment