Loading...
 
Skip to main content

dev.tw.o: Sorting items from trackerlist plugin doesn't work for anons due to cache issue

Status
Closed
Subject
dev.tw.o: Sorting items from trackerlist plugin doesn't work for anons due to cache issue
Version
11.x
4.x
Category
  • Conflict of two features (each works well independently)
  • Dogfood on a *.tiki.org site
  • Feature request
Feature
Performance / Speed / Load / Compression / Cache
Trackers
Wiki Plugin (extends basic syntax)
Resolution status
Fixed or Solved
Submitted by
Marc Laporte
Lastmod by
Xavi (as xavidp - admin)
Rating
(0)
Description

dev.tw.o: Sorting items from trackerlist plugin doesn't work for anons due to some conflict with the wiki cache. Example:

http://dev.tikiwiki.org/tiki-index.php?page=Profile+Manager&tr_sort_mode1=created_asc

http://dev.tikiwiki.org/tiki-index.php?page=Profile+Manager&tr_sort_mode1=created_desc

both pages show the same sorting on date (for instance) if the user is not logged, but the sorting works if you are logged.

Solution

It was reported in Tiki4, and retested in Tiki11 (svn)

The new url to reproduce the issue is this one:
http://dev.tikiwiki.org/tiki-index.php?page=Profiles&tr_sort_mode1=created_asc

And it works nicely right now. closing the bug report.
thanks for the "retest" message, Marc.

Workaround

luci:
it's not a bug, it's a feature 😉

just don't use the wiki cache on the wiki page where you have the trackerlist or it would need to add clear cache automagically if any params are in URL


-

Update by Xavi:
:-) I'm not the one who selected to use the wiki cache in pages at dev.tw.o, but I understand that it may be useful to reduce the impact of trackers on dev.tw.o performance (I guess that's why somebody enabled the wiki cache on those pages using trackerlist).

What I mean is that as registered, the cache is avoided when the url changes, but not as anonymous, as far as I could understand. To me this still looks like a (minor) bug (that's why I did initially set priority to 3; Ok, I'll lower that to 1.)

Importance
1 low
Priority
5
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2898
Created
Wednesday 25 November, 2009 12:31:20 UTC
by Xavier de Pedro
LastModif
Thursday 06 June, 2013 10:06:29 UTC


Show PHP error messages