dotCMS / dotCMS/core

Content Drive: pagination buttons stay enabled while a page is loading, allowing duplicate requests

Open
#37,212 2 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

QA : Failed Team : Scout Type : Defect
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Problem Statement

The Content Drive pagination controls (next/previous page) remain clickable while a page request is already in flight. Clicking them again before the current request resolves fires additional, redundant requests for the same navigation action.

Steps to Reproduce

Video: content drive pagination buttons.mov

  1. In Content Drive, navigate to a folder/search result with multiple pages.
  2. Click the "next page" (or "previous page") button while the current page is still loading.
  3. Click it again (or multiple times) before the request completes.
  4. Observe multiple network requests fired, one per click, instead of the click being ignored/debounced while a request is in flight.

Expected vs Actual

Expected: pagination controls should be disabled (or clicks ignored) while a page request is in progress, so only one request is made per navigation action.

Actual: pagination buttons remain enabled during loading; repeated clicks fire additional requests.

Acceptance Criteria

  • Pagination controls are disabled (or non-interactive) while a page request is in flight
  • Rapidly clicking a pagination control while loading results in exactly one request, not one per click
  • No regression to normal pagination behavior once a request completes

Parent Epic

#36814

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.