?
avatar rompec
rompec
12 Sep 2017
#### Steps to reproduce the issue
create menu item - type smart search
create breadcrumbs module on every page
turn system cache on (conservative)
search "something" 
see the breadrcrumbs on the results page
search "somethingelse" on the results page

#### Expected result
breadcrumbs: .../search/somethingelse

#### Actual result
breadcrumbs:  .../search/something

#### System information (as much as possible)

PHP built | Linux vm1567 2.6.32-042stab112.15 #1 SMP Tue Oct 20 17:22:56 MSK 2015 x86_64
-- | --
Verze databáze | 5.5.57-0+deb8u1
Porovnávání databáze | utf8_unicode_ci
Database Connection Collation | utf8mb4_general_ci
Verze PHP | 5.6.30-0+deb8u1
Webový server | Apache
Rozhraní mezi Webovým serverem a PHP | cgi-fcgi
Verze Joomla! | Joomla! 3.7.5 Stable [ Amani ] 14-August-2017 12:09 GMT
Verze platformy Joomla! | Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0


#### Additional comments


avatar rompec rompec - open - 12 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - change - 12 Sep 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Sep 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 12 Sep 2017
Category com_search
avatar franz-wohlkoenig franz-wohlkoenig - change - 12 Sep 2017
Status New Confirmed
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 12 Sep 2017

Issue confirmed.


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

avatar mbabker
mbabker - comment - 12 Sep 2017

It's an issue with the breadcrumb module in general. You basically have to leave the caching disabled on that module for breadcrumbs to display correctly. Part of the issue is its data is dynamic based on what is actually displayed on the page; the module is configured to cache the output based on the active menu item ID. Since multiple pages can be shown under one menu item, that logic does not work for breadcrumbs.

One of the other strategies (modes) in Joomla\CMS\Helper\ModuleHelper::moduleCache() may be more appropriate for this module, or it may require expanding the system to be able to put in support for a custom strategy. Or we may just have to disable the cache for the breadcrumb module in general.

avatar franz-wohlkoenig franz-wohlkoenig - change - 13 Sep 2017
Status Confirmed Discussion
avatar brianteeman
brianteeman - comment - 5 Oct 2017

Closing as answered by @mbabker

avatar brianteeman brianteeman - close - 5 Oct 2017
avatar brianteeman brianteeman - change - 5 Oct 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-10-05 13:07:10
Closed_By brianteeman

Add a Comment

Login with GitHub to post a comment