? ? Release Blocker ? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
24 Apr 2022

Summary of Changes

The database model has since #37095 a magic method to deliver the _dbo variable. This function needs to create the properties when they do not exist.

Testing Instructions

Edit a module in the back end.

Actual result BEFORE applying this Pull Request

The following error happens:
_Attempt to assign property "params" on null _

Expected result AFTER applying this Pull Request

Module form shows up.

avatar laoneo laoneo - open - 24 Apr 2022
avatar laoneo laoneo - change - 24 Apr 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Apr 2022
Category Libraries
avatar brianteeman
brianteeman - comment - 24 Apr 2022

and that's why I said low level changes like #37095 should have better testing instructions and automated tests

avatar brianteeman
brianteeman - comment - 24 Apr 2022

Confirming that it fixes the broken pr

Wondring why the url contains an empty clientid


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

avatar brianteeman
brianteeman - comment - 24 Apr 2022

I have tested this item successfully on 8a2c824


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

avatar brianteeman brianteeman - test_item - 24 Apr 2022 - Tested successfully
avatar laoneo
laoneo - comment - 24 Apr 2022

The pr #37095 is actually shipped with unit tests and the base model is tested with almost every system test we have. For sure there are always edge cases where something can break. In this case it broke because a model has an undeclared variable which is bad coding practice and will produce an error in PHP 9, when the RFC passes https://wiki.php.net/rfc/undefined_property_error_promotion.

avatar alikon
alikon - comment - 25 Apr 2022

I have tested this item successfully on 8a2c824


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

avatar alikon alikon - test_item - 25 Apr 2022 - Tested successfully
avatar alikon alikon - change - 25 Apr 2022
Status Pending Ready to Commit
avatar alikon
alikon - comment - 25 Apr 2022

RTC


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

avatar laoneo laoneo - change - 25 Apr 2022
Labels Added: ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 25 Apr 2022
Category Libraries Libraries Unit Tests
avatar roland-d roland-d - change - 25 Apr 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-04-25 17:40:40
Closed_By roland-d
Labels Added: ? Release Blocker
avatar roland-d roland-d - close - 25 Apr 2022
avatar roland-d roland-d - merge - 25 Apr 2022
avatar roland-d
roland-d - comment - 25 Apr 2022

Thanks everybody

Add a Comment

Login with GitHub to post a comment