User tests: Successful: Unsuccessful:
$direction
and $lang
vars.isAuthorisedDisplayChecker()
methodEnable Joomla system cache plugin.
Ensure that debug is disabled.
Clear Joomla cache.
Load frontend article as guest.
See cache file in /administrator/cache/page folder
Edit article in backend and perform "Accessibility Check".
See extra file in /administrator/cache/page folder
An extra cache file is generated for each article
Cache file is not generated.
No.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
Labels |
Added:
?
|
Argh, sorry, I didn't know about test count.
I have tested this item
I'm afraid I cannot reproduce the issue.
I have tried this:
Accesibility button only appears in frontend when the "show always" check is marked on the plugin configuration.
@carcam Not sure what's wrong, but it's really not replicated.
Moreover, assuming that Jooa11y injects assets via onBeforeCompileHead
event, these assets can't be cached via view cache (caching in global config) for guests.
But, it's still cached with 'System - Page Cache' enabled for accessibility check preview URL like https://site.com/news/article-alias?jooa11y=1 (see ?jooa11y=1 appended). Having an extra cache file is useless.
I've updated summary of changes and test instructions.
@carcam I found why it's not reproduceable anymore: recently, we have pushed the modules cache update and now the module cache only contains assets added by these module, but not all assets existing at the time of module generation.
Before, the article was rendered and cached, next template is rendered, Jooa11y adds own assets via onBeforeCompileHead, next modules were rendered and cached (and the module cache contained Jooa11y assets).
Anyway, the cache should be disabled on Jooa11y active state.
Labels |
Added:
PBF
|
I have tested this item
Hi @Denitz
Thank you very much for rewriting the instructions!!
I have been able to reproduce the issue and after applying the patch no files appear in the cache folder in any case. If that was the intention everything is fine ;).
I have not tested this item.
It seems I cannot reproduce the issue.
If I open the article as guest, it creates cache file. Then, when I edit and check in backoffice the extra cache file is not generated (after and before applying patch).
I copied the configuration from carcam
@brianteeman can you have a look here again if all is ok?
I have tested this item
Cannot replicate the reported problem
Load frontend article as guest.
See cache file in /administrator/cache/page folder - YES
Edit article in backend and perform "Accessibility Check".
See extra file in /administrator/cache/page folder - NO
@brianteeman Please ensure that system page cache plugin is enabled and you are not logged in frontend.
This pull request has automatically rebased to 4.2-dev.
This pull requests has been automatically converted to the PSR-12 coding standard.
Labels |
Added:
?
|
Labels |
Added:
?
Removed: ? |
Labels |
Removed:
?
|
Sorry, I can't, this PR is simple enough.
This pull request has been automatically rebased to 4.4-dev.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-10-03 10:09:55 |
Closed_By | ⇒ | Denitz | |
Labels |
Added:
?
bug
PR-4.4-dev
Removed: ? |
@Denitz you do not need to keep updating your branch. Unless there are conflicts to fix its best if you dont as every commit will reset the test count