Bug #73103
closedOff-by-one error in FAL
100%
Description
The filelist has an off-by-one issue while using the page browser.
How to reproduce¶
Create a new folder in fileadmin and create 100 empty test files: for i in {0..100}; do touch $i.txt; done;
The list goes from 0.txt to 39.txt. After switching to the next page, the result list goes from 39.txt to 78.txt, missing 79.txt. Switching to the next page again renders the list from 79.txt to 99.txt and so on.
I think the issue is related to the LocalDriver, which changes the starting point by one:
// ./typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php +371 if ($start > 0) { $start--; }
Updated by Gerrit Code Review almost 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46461
Updated by Gerrit Code Review almost 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46461
Updated by Gerrit Code Review almost 9 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46501
Updated by Andreas Fernandez almost 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 425cf60ecd8f8ed850771c18d117fb86c455b8d6.
Updated by Gerrit Code Review almost 9 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46502
Updated by Andreas Fernandez almost 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset d1ca79ca402d5550e27d80640ef091f8972904f3.