? bug PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
4 Apr 2023

Pull Request for Issue # .

Summary of Changes

This PR fixes Creation of dynamic property warnings on Multilinual Sample Data plugin on PHP 8.2. We assign return values of two methods two none-existent properties and PHP 8.2 throws warnings. I found this issue while testing PR #40216

As these properties are not used at all inside the plugin (you can scan code to confirm), we can just return the values directly.

Testing Instructions

  1. Use Joomla 4.3 night build on PHP 8.2
  2. Set Error Reporting to Maximum
  3. Install an extra language (to setup multilingual website)
  4. Install Multilinual Sample Data

Code review should also be enough.

Actual result BEFORE applying this Pull Request

There is an error with set up sample data. The process could not be finished

Expected result AFTER applying this Pull Request

No error. Sample data property installed.

Link to documentations

Please select:

  • No documentation changes for docs.joomla.org needed
  • No documentation changes for manual.joomla.org needed
avatar joomla-cms-bot joomla-cms-bot - change - 4 Apr 2023
Category Front End Plugins
avatar joomdonation joomdonation - open - 4 Apr 2023
avatar joomdonation joomdonation - change - 4 Apr 2023
Status New Pending
avatar joomdonation joomdonation - change - 4 Apr 2023
The description was changed
avatar joomdonation joomdonation - edited - 4 Apr 2023
avatar alikon alikon - test_item - 4 Apr 2023 - Tested successfully
avatar alikon
alikon - comment - 4 Apr 2023

I have tested this item successfully on 5c867f4


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

avatar viocassel viocassel - test_item - 4 Apr 2023 - Tested successfully
avatar viocassel
viocassel - comment - 4 Apr 2023

I have tested this item successfully on 5c867f4


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

avatar Quy Quy - change - 4 Apr 2023
Status Pending Ready to Commit
Labels Added: PR-4.3-dev
avatar Quy
Quy - comment - 4 Apr 2023

RTC


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

avatar infograf768
infograf768 - comment - 20 Apr 2023

Test OK. Solved my issue .

avatar obuisard obuisard - change - 6 May 2023
Labels Added: ? bug
avatar obuisard obuisard - close - 6 May 2023
avatar obuisard obuisard - merge - 6 May 2023
avatar obuisard obuisard - change - 6 May 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-05-06 00:22:56
Closed_By obuisard
avatar obuisard
obuisard - comment - 6 May 2023

Thank you Tuan @joomdonation :-)

Add a Comment

Login with GitHub to post a comment