No Code Attached Yet J3 Issue
avatar osignell
osignell
4 Feb 2016

Steps to reproduce the issue

Create a search module, enable "OpenSearch Autodiscovery"
Enable caching for the Joomla site (conservative in my case, probably also progressive)
Load a page on the frontend several times.

Expected result

Opensearch LINK tag visible in HEAD on every page load.

Actual result

LINK tag is only visible the first time the page is loaded. No tag is visible on subsequent loads when there is cached version of the module stored in cache/mod_search

Additional comments

I fixed this temporarily on my site by disabling caching for the search module.

Is there a framework in place for including tags for cached modules? I would assume the same situation might arise if a cached module loads a stylesheet or adds a javascript file. Is the "nohead" parameter in the JCache class related to this?

avatar osignell osignell - open - 4 Feb 2016
avatar brianteeman brianteeman - change - 13 Apr 2016
Status New Confirmed
avatar brianteeman
brianteeman - comment - 13 Apr 2016

Confirmed on 3.5.1


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

avatar mbabker
mbabker - comment - 8 Jan 2017

In JCache::setWorkarounds() there is an array declaring what properties returned from JDocumentHtml::getHeadData() are ignored. The OpenSearch tag is in one of the ignored properties.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 29 Jan 2017

@mbabker so this Issue is expected behavior?

avatar mbabker
mbabker - comment - 29 Jan 2017

As it is currently coded, yes. That doesn't necessarily mean it is the right behavior.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 29 Jan 2017

@mbabker then ist no issue and can be closed?

avatar mbabker
mbabker - comment - 29 Jan 2017

It depends on how you look at it. As the code is written, it is not an issue. However, is the behavior as described when this issue was opened one that should not be addressed?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 29 Jan 2017

@mbabker right. How to deal with this kind of Question > Button "PLT-Decision"? It's about don't losing Community-Input.

avatar joomla-cms-bot joomla-cms-bot - change - 8 Nov 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 8 Nov 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 8 Nov 2017
Status Confirmed Information Required
avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Nov 2017
Status Information Required Needs Review
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Nov 2017

Status is set on "Needs Review".

avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar brianteeman
brianteeman - comment - 19 Aug 2018

From my perspective it is definitely a bug because I would expect/want this to be on every page and it doesnt make sense to remove it from the cache. We already have code if a cached module loads a stylesheet or adds a javascript file to make sure thats always there

avatar brianteeman
brianteeman - comment - 23 Aug 2022

Thank you for raising this issue.

Joomla 3 is now in security only mode with no further bug fixes or new features.

As this issue doesn't relate to Joomla 4 it will now been closed.

If we are mistaken and this does apply to Joomla 4 please open a new issue (and reference this one if you wish) with updated details for testing in Joomla 4.
cc @zero-24

avatar zero-24 zero-24 - change - 23 Aug 2022
Status Needs Review Closed
Closed_Date 0000-00-00 00:00:00 2022-08-23 19:23:30
Closed_By zero-24
Labels Added: No Code Attached Yet
Removed: ?
avatar zero-24 zero-24 - close - 23 Aug 2022

Add a Comment

Login with GitHub to post a comment