dotCMS / dotCMS/core

[DEFECT] Page Porlert breaks on reload

Open
#33,272 2 comments 0 reactions 0 assignees View on GitHub

A pull request for this has already been merged.

  • #33286 by @rjvelazco — merged
OKR : User Experience Priority : 3 Average stale
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Problem Statement

When reloading the application while inside the Page Portlet (/#/pages), the page list enters an infinite loading state and never resolves. The browser console shows an error that appears to be caused by a race condition during initialization.

This issue also occurs if you navigate directly to the Page Portlet URL and reload.

Steps to Reproduce
  1. Open the Page Portlet (/#/pages).
  2. Reload the browser tab (or navigate directly to the URL and reload).
  3. Observe that the page remains stuck in a loading state.
  4. Open the browser console and note the error indicating a likely race condition.
Video

https://github.com/user-attachments/assets/f2644774-e0bc-4cf4-aa13-63a1dec2f933

Acceptance Criteria
  • Reloading the app on the Page Portlet initializes without errors.
  • The page list loads correctly after a reload or direct navigation.
  • No infinite loading state occurs.
  • Console errors related to race conditions are resolved.
dotCMS Version

main/trunk

Severity

Medium - Some functionality impacted

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

Start at the Page Portlet entry point, /#/pages, and reproduce the reload or direct-navigation case while watching the browser console. Trace the initialization path implicated by the race-condition error and verify that the page list loads without errors or an infinite loading state.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.