#6325 - Block pagination causes recursive self_url builds eventually resulting in HTTP request too large

  • By
  • Added
  • 5 views
Identifier #6325
Issue type Minor issue (breaks specific functionality)
Title Block pagination causes recursive self_url builds eventually resulting in HTTP request too large
Status Completed
Handling member PDStig
Version 11 beta8
Addon core
Description When using pagination on a block, the self_url parameter would recursively grow in size. This would eventually trigger a request too large error.
Funded? No
Hotfixes

hotfix-6325 6940b4221dbf8.tar

Only apply these hotfixes if you absolutely need them and cannot wait until the next release of Composr (releases are more reliable and strictly tested). We provide no guarantee that hotfixes will work; they may even break your site especially if a hotfix depends on another hotfix. Always make a site backup if you attempt to apply a hotfix.

As of Composr version 11, the recommended way to apply a hotfix is by following the same steps as an upgrade:

  1. Download the hotfix into the data_custom folder of your Composr installation directory
  2. Back up your site
  3. Go to yourbaseurl/upgrader.php
  4. When you get to the 'Transfer across new/updated files' step, use the hotfix that you downloaded.
  5. The upgrader will automatically apply hotfix files, skipping any files belonging to addons that you do not have installed, and also skipping hotfix files that are older than the files on disk
  6. Run a database upgrade if prompted
  7. You may wish to run a file integrity scan and resolve issues.

For Composr version 10, manually extract the files (e.g., using 7-Zip) and overwrite files in your Composr installation that are older than the ones in the hotfix (check the file modification date/time). Skip hotfix files that do not exist in your installation.

Commits

Attempt to fix pagination recursive self_url bug (untested) (78682df8) · Commits · Composr ecosystem / Composr · GitLab

Pagination fix attempt 2: prioritise GET (6d2d75b0) · Commits · Composr ecosystem / Composr · GitLab

Pagination attempt 3 (e89d0801) · Commits · Composr ecosystem / Composr · GitLab

Fixed MANTIS-6325 (recursive self_url in pagination); also see previous 3 commits (22dd0178) · Commits · Composr ecosystem / Composr · GitLab

Edited
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated