No Code Attached Yet bug PR-5.2-dev
avatar pe7er
pe7er
18 Jan 2025

When testing the PR #41956 I noticed another issue with the Page Cache Plugin and Preview + Accessibility Check in Article Edit.

Steps to reproduce the issue

  • Enable the System - Page Cache Plugin (with browser cache off)
  • Create a new Article
  • Create a Menu Items of type "Single Article" and link to the new Article
  • In "Maintenance: Clear Cache" /administrator/index.php?option=com_cache&view=cache clear all Cache
  • Check "Maintenance: Clear Cache" for number of files
  • Edit the Article
  • Click on "Preview" and note the "Hits"
  • Check "Maintenance: Clear Cache" for number of files
  • Click on "Accessibility Check" and note the "Hits"
  • Check "Maintenance: Clear Cache" for number of files

"Maintenance: Clear Cache" before Preview/Accessibility Check:

Image

Preview/Accessibility Check:

Image

Expected result

The Preview / Accessibility Check should not re-cache an already cached article.

Actual result

Preview

Image

Cache after Preview

The Preview has created a cache file:
Now 2 Page and 2 Schemaorg cache files.

Image

Accessibility Check

The Hit counter increased by 1 (from 16 to 17)

Image

Cache after Accessibility Check

The Accessibility Check has created another cache file:
Now 3 Page and 3 Schemaorg cache files.

Image

System information (as much as possible)

Additional comments

avatar pe7er pe7er - open - 18 Jan 2025
avatar joomla-cms-bot joomla-cms-bot - change - 18 Jan 2025
Labels Added: No Code Attached Yet bug PR-5.2-dev
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Jan 2025

Add a Comment

Login with GitHub to post a comment