Feature RTC PR-5.1-dev PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar joomlaweby
joomlaweby
27 Feb 2024

Summary of Changes

Static function getList is after applying pull request deprecated and new non-static method getStats created in StatsHelper.

Testing Instructions

  1. Make sure you have site module mod_stats published
  2. You should see module output on frontend
  3. Deprecated static function getList should also work

mod_stats

Actual result BEFORE applying this Pull Request

Module works as expected

Expected result AFTER applying this Pull Request

Module works same way as before applying pull request

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomlaweby joomlaweby - open - 27 Feb 2024
avatar joomlaweby joomlaweby - change - 27 Feb 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Feb 2024
Category Modules Front End
avatar fgsw
fgsw - comment - 28 Feb 2024

After click on Apply Patch in Patchtester only a red Message is shown: "The file marked for modification does not exist: modules/mod_stats/src/Dispatcher/Dispatcher.php".

avatar brianteeman
brianteeman - comment - 28 Feb 2024

@fgsw Your local joomla installation is not up to date

avatar fgsw
fgsw - comment - 28 Feb 2024

My Installation Setting:
image

image

Better to down- and upload & install every day the nightly build (now Joomla_5.1.0-beta1-dev-Development-Update_Package.zip)?

avatar fgsw fgsw - test_item - 28 Feb 2024 - Tested successfully
avatar fgsw
fgsw - comment - 28 Feb 2024

I have tested this item ✅ successfully on 15ba980

Using nightly build.


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

avatar ceford
ceford - comment - 28 Feb 2024

Just realised I am testing with PHP8.3 - everything seems to work. For this PR I do not see a deprecated notice with or without the patch. Am I supposed to?


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

avatar joomlaweby
joomlaweby - comment - 28 Feb 2024

Just realised I am testing with PHP8.3 - everything seems to work. For this PR I do not see a deprecated notice with or without the patch. Am I supposed to?

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

@ceford No, deprecated static function in helper file may be still used by other extensions (probably only 3rd party), so this is the case, when this deprecated function is called. Module mod_stats is now using new non-static method from helper, so there is no deprecation notice.

avatar ceford ceford - test_item - 29 Feb 2024 - Tested successfully
avatar ceford
ceford - comment - 29 Feb 2024

I have tested this item ✅ successfully on 15ba980


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

avatar Quy Quy - change - 29 Feb 2024
Status Pending Ready to Commit
Labels Added: PR-5.1-dev
avatar Quy
Quy - comment - 29 Feb 2024

RTC


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

avatar Quy Quy - change - 1 Mar 2024
Labels Added: RTC
avatar richard67 richard67 - change - 11 Mar 2024
Status Ready to Commit Pending
avatar richard67
richard67 - comment - 11 Mar 2024

Back to pending as there have been made changes.


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

avatar richard67 richard67 - change - 11 Mar 2024
Labels Removed: RTC
avatar exlemor exlemor - test_item - 22 Mar 2024 - Tested successfully
avatar exlemor
exlemor - comment - 22 Mar 2024

I have tested this item ✅ successfully on 1dbe39e

Was successful and noticed that in Joomla Debug, there seems to be fewer Queries after Patch.

Before Patch: 28 statements were executed, 6 of which were duplicates, 22 unique
After Patch: 25 statements were executed, 2 of which were duplicates, 23 unique

so if intended great and even if not, fewer = better so great :)

Thanks for yet another good fix.


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

avatar viocassel viocassel - test_item - 29 Mar 2024 - Tested successfully
avatar viocassel
viocassel - comment - 29 Mar 2024

I have tested this item ✅ successfully on 1dbe39e


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

avatar Quy Quy - change - 29 Mar 2024
Status Pending Ready to Commit
avatar Quy
Quy - comment - 29 Mar 2024

RTC


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

avatar cybersalt cybersalt - test_item - 11 Apr 2024 - Tested successfully
avatar cybersalt
cybersalt - comment - 11 Apr 2024

I have tested this item ✅ successfully on 1dbe39e


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

avatar brianteeman
brianteeman - comment - 11 Apr 2024

great to see all these tests @cybersalt - hope this will become a regular thing

avatar HLeithner
HLeithner - comment - 24 Apr 2024

This pull request has been automatically rebased to 5.2-dev.

avatar HLeithner HLeithner - change - 24 Apr 2024
Title
[5.1] Static function getList deprecated in mod_stats
[5.2] Static function getList deprecated in mod_stats
avatar HLeithner HLeithner - edited - 24 Apr 2024
avatar pe7er pe7er - change - 7 May 2024
Labels Added: Feature RTC PR-5.2-dev
avatar pe7er pe7er - change - 7 May 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-05-07 09:20:05
Closed_By pe7er
avatar pe7er pe7er - close - 7 May 2024
avatar pe7er pe7er - merge - 7 May 2024
avatar pe7er
pe7er - comment - 7 May 2024

Thanks @joomlaweby !

Add a Comment

Login with GitHub to post a comment