"... usability issue that on an update of joomla we tell people to update the cache and right now they are a) mistakenly only cleaning the cache for the site not the admin and b) have to do three extra clicks when it just isnt needed."
Summary of Changes
Button Delete All (caches) deletes cache of Site and Administrator indepentend of Filter client_id.
Testing Instructions
If you have the possibility to use cache handlers other than File then please testtesttest, too. Thx!
EDIT: Be aware that if you use Cache Handler Cache_Lite that folders (column "Cache Groups") are not removed but only cache files in it that were created by Cache_Lite! You always will see a "1" in column "Number of Files" after deleting. That's a remaining file index.html in each folder. That's not related to this PR.
administrator/index.php?option=com_config
- Activate Cache with Cache Handler File
- Load some pages in FE and some in BE.
administrator/index.php?option=com_cache
- Via FTP create a folder /administrator/cache/Unbenannt/ (must be writeable/deleteable for Joomla)
- See entries with Filter set to Site
- See entries with Filter set to Administrator
Change Filter to Site
Click on button Delete All
Change Filter to Administrator
You'll see that all folders are still present including folder /Unbenannt/
Apply patch.
Follow the steps above.
You'll see that also Administrator folder /Unbenannt/ has been deleted. (Other folders were newly created immediately after they have been deleted.)
To see error messages:
- Via FTP create a folder /administrator/cache/Unbenannt/ (must be writeable/deleteable for Joomla)
- Via FTP create a folder /cache/Unbenannt/ (must be writeable/deleteable for Joomla)
- Via FTP create a folder /administrator/cache/Unbenannt1/ (must NOT be writeable/deleteable for Joomla)
- Via FTP create a folder /cache/Unbenannt1/ (must NOT be writeable/deleteable for Joomla)
I have tested this item✅ successfully on 890747e
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11286.