Feature Maintainers Checked b/c break PR-5.1-dev PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar Denitz
Denitz
28 Sep 2023

Summary of Changes

ArchiveModel::getData() is unused, even calls the missed _buildQuery()

Testing Instructions

Apply patch.

Actual result BEFORE applying this Pull Request

Invalid unused method.

Expected result AFTER applying this Pull Request

No invalid unused method.

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

5c503c8 28 Sep 2023 avatar Denitz fix
avatar joomla-cms-bot joomla-cms-bot - change - 28 Sep 2023
Category Front End com_content
avatar Denitz Denitz - open - 28 Sep 2023
avatar Denitz Denitz - change - 28 Sep 2023
Status New Pending
avatar brianteeman
brianteeman - comment - 28 Sep 2023

surely this needs to be deprecated before it can be removed

avatar wilsonge
wilsonge - comment - 28 Sep 2023

I mean normally yes. But given the method is clearly going to give a fatal error if it's called. Because of that in this very specific case it's probably safe to remove in 5.0 and we can just shove a deprecation notice in 4.4 even at this stage.

avatar HLeithner HLeithner - change - 30 Sep 2023
Title
[5.0] Remove unused ArchiveModel::getData()
[5.1] Remove unused ArchiveModel::getData()
avatar HLeithner HLeithner - edited - 30 Sep 2023
avatar HLeithner
HLeithner - comment - 30 Sep 2023

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

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] Remove unused ArchiveModel::getData()
[5.2] Remove unused ArchiveModel::getData()
avatar HLeithner HLeithner - edited - 24 Apr 2024
avatar Hackwar
Hackwar - comment - 20 Jul 2024

You are right that this method needs to be removed, but since we need to deprecate it, we have to wait until 7.0 now. I stumbled upon this as well and created #43354, not knowing about your PR. Since my PR does the deprecation, fixes the method for now and then allows to remove it in 7.0, I would close this one and ask you to test #43354 to get this finally moving. Thank you for your work!

avatar Hackwar Hackwar - close - 20 Jul 2024
avatar Hackwar Hackwar - change - 20 Jul 2024
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2024-07-20 22:13:32
Closed_By Hackwar
Labels Added: Feature Maintainers Checked b/c break PR-5.1-dev PR-5.2-dev

Add a Comment

Login with GitHub to post a comment