Bug #16580
closed
"pointer" error in tslib/class.tslib_pibase.php
Added by Dietrich Heise about 18 years ago.
Updated about 11 years ago.
Description
Hi there,
there is a Problem with the "pointer" in the function pi_list_browseresults.
The problem is that the pointer never will be set to '0'.
If I go to "page 2", the pointer is set to "1",
if I go to "page 3", the pointer is set to "2",
but if I go back to the first page, the pointer is not set to any value, that is not good, I expect a "0" here.
(issue imported from #M4254)
Files
the first patch does not correct the "< perv" link in the paging
IMO it is good like it is now. With your patch there would be 2 pages with different parameters showing the same content: The first version would show the first page of the list without a pointer parameter and the second one would show the same content with &tx_plugin[pointer]=0
that will cause problems with indexed_search (double results) because the page is cached two times.
My problem is:
I store the search/filter options the user made for the listing in the user session.
so if the user returns the old list can be displayed again.
That works very good, but the first page is only accessable the first time, because I can't check if the pointer is set to '0' on the first page the pointer issn't set, so the last pointer from the session will be used.
IMHO all lists where filter options and a pointer is used, are uncached and the uncached pages are never indexed by the indexed_search.
I also have this problem in 4.2
You can correct it, by changing the $pointer / $a null or '' if/else statements to $pointer/$a 0
- Category deleted (
Communication)
- Status changed from New to Needs Feedback
- Target version deleted (
0)
- PHP Version deleted (
4)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.
Also available in: Atom
PDF