dotCMS / dotCMS/core

[DEFECT] Unable to load folder's content for folders with lots of html pages

Open
#34,350 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

OKR : Customer Support Team : Maintenance
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Problem Statement

When a folder has hundreds of html pages, it takes very long time to load them, even to the point that sometimes it request times out and the spinner shows forever.

Steps to Reproduce

Reach out to me @dsilvam to get a dataset to reproduce this.

Once the dataset is restored, open a specific folder and the following entry will show up in the logs many times

dotcms-1      | 21:13:57.526  WARN  browser.BrowserAPIImpl - SLOW HYDRATION: contentlet=d5e1b630-ab8d-42f8-879e-ef27bbb2d9e6, type=htmlpageasset, total=529ms [mapping=527ms, shorties=0ms, permissions=0ms, workflow=1ms]
Acceptance Criteria

Folders loading even when having hundreds of html pages

dotCMS Version

26.01.02-01_b8b3476

Severity

Critical - System unusable

Links

https://helpdesk.dotcms.com/a/tickets/34310

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.

Research direction

Obtain the reproduction dataset from @dsilvam, restore it, and open a folder with hundreds of HTML pages. Start with the repeated BrowserAPIImpl “SLOW HYDRATION” log entry and investigate the folder-loading path; done means such folders load without timing out and the spinner does not remain indefinitely.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.