? bug PR-4.3-dev ?
avatar Denitz
Denitz
2 Sep 2022

Summary of Changes

"You have no cached content." is displayed after deleting the filtered cache group.

Testing Instructions

  1. Ensure that Joomla caching is enabled, load frontend as guest
  2. Go to Maintenance > Clear Cache in backend
  3. Filter by any frontend-specific cache group, i.e. com_content in search field.
  4. See single group filtered
  5. Delete it
  6. See "You have no cached content." layout without search field.

Actual result BEFORE applying this Pull Request

Frustrating "You have no cached content." message on active search filter applied though we have non-filtered cache groups.
Search field is not visible.

Expected result AFTER applying this Pull Request

See the usual empty table with "No Matching Results" message and visible search input.

Documentation Changes Required

No.

avatar Denitz Denitz - open - 2 Sep 2022
avatar brianteeman
brianteeman - comment - 2 Sep 2022

I can confirm the issue.

Just wondering why its not the same as all the other emptystate with $this->get('IsEmptyState')

avatar Denitz
Denitz - comment - 5 Sep 2022

@brianteeman Because ListModel::getIsEmptyState() uses a database query but com_cache is "databaseless" :)

avatar brianteeman
brianteeman - comment - 5 Sep 2022

Ok. Thanks for the explanation

avatar brianteeman
brianteeman - comment - 9 Sep 2022

tested ok

Its marked as an issue on the tracker so cant post a result there

avatar joomla-cms-bot joomla-cms-bot - change - 22 Oct 2022
Category Administration com_cache
avatar Denitz Denitz - change - 24 Mar 2023
Labels Added: Conflicting Files ? ?
avatar Quy Quy - change - 25 Mar 2023
Status New Ready to Commit
avatar Quy
Quy - comment - 25 Mar 2023

RTC


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

avatar obuisard obuisard - change - 4 May 2023
Labels Added: ? bug PR-4.3-dev
Removed: Conflicting Files ?
avatar obuisard obuisard - change - 4 May 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-05-04 15:26:07
Closed_By obuisard
avatar obuisard obuisard - close - 4 May 2023
avatar obuisard obuisard - merge - 4 May 2023
avatar obuisard
obuisard - comment - 4 May 2023

Thank you @Denitz :-)

avatar Denitz
Denitz - comment - 4 May 2023

Thank you! 1-line patch in 10 months, even after Brian's confirmation :(

avatar laoneo
laoneo - comment - 25 Oct 2024

And this one line had a bug :-)

Add a Comment

Login with GitHub to post a comment