? ? Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
21 Mar 2021

Pull Request for Issue #31473.

Summary of Changes

This PR fixes PHP warnings on PHP 8. The error happens in some of our view classes because some changes in how php handles string to number comparision:

Testing Instructions

  1. You need to have PHP 8 running to test this PR
  2. Unpublish all menu items you created to link to one of the following menu item types: List All Categories, Category List, Category Blog.
  3. Create an instance of Articles - Categories, publish it
  4. Access to a category which is displayed in the module above

Before patch: You would get the warning like

Attempt to read property "id" on null in components/com_content/views/category/view.html.php

After patch: No warning anymore

avatar joomdonation joomdonation - open - 21 Mar 2021
avatar joomdonation joomdonation - change - 21 Mar 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Mar 2021
Category Front End com_contact com_content
avatar joomdonation
joomdonation - comment - 21 Mar 2021

Anyone knows why drone is failing for this PR?

avatar richard67
richard67 - comment - 21 Mar 2021

Drone failure was unrelated. I‘ve restarted the job, hope it will pass this time. It seems that when we have too many jobs in the queue or running, we sometimes run into this kind of problem.

avatar PhilETaylor PhilETaylor - test_item - 23 Mar 2021 - Tested successfully
avatar PhilETaylor
PhilETaylor - comment - 23 Mar 2021

I have tested this item successfully on a9d6d03


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

avatar alikon alikon - test_item - 23 Mar 2021 - Tested successfully
avatar alikon
alikon - comment - 23 Mar 2021

I have tested this item successfully on a9d6d03


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

avatar alikon alikon - change - 23 Mar 2021
Status Pending Ready to Commit
avatar alikon
alikon - comment - 23 Mar 2021

RTC


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

avatar richard67 richard67 - change - 23 Mar 2021
Labels Added: ? ?
avatar rdeutz rdeutz - change - 23 Mar 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-03-23 16:25:18
Closed_By rdeutz
Labels
avatar rdeutz rdeutz - close - 23 Mar 2021
avatar rdeutz rdeutz - merge - 23 Mar 2021

Add a Comment

Login with GitHub to post a comment