[DEFECT] Duplicate Breadcrumb Items on Page Reload in Analytics Tabs
Problem Statement
When a user performs a hard refresh (reload) on any sub-tab within the Analytics section (e.g., Conversions, Engagement, Pageviews), the breadcrumb trail incorrectly appends the current page label multiple times. Instead of showing Analytics Dashboard > Conversions, it displays a wrong breadcrumb
Steps to Reproduce
Steps to Reproduce:
-
Navigate to the Analytics portlet.
-
Click on any specific tab, such as Conversions.
-
Observe the breadcrumb is correct: Analytics Dashboard > Conversions.
-
Perform a browser reload/refresh (F5 or Cmd+R).
-
Observe the breadcrumb trail after the page reloads.
Acceptance Criteria
-
Breadcrumbs must correctly resolve the path without duplicates upon page refresh.
-
Logic should apply consistently across all Analytics tabs (Conversions, Engagement, Pageviews).
dotCMS Version
latest
Severity
Low - Minor issue or cosmetic
Links
NA
PRs linked to this issue
- feat(analytics): add breadcrumb IDs for conversions, engagement, and pageviews by @adrianjm-dotCMS
PRs linked to this issue
- feat(analytics): add breadcrumb IDs for conversions, engagement, and pageviews by @adrianjm-dotCMS
- refactor: enhance breadcrumb management in DotAnalyticsDashboardComonent by @adrianjm-dotCMS
Still have issues, please check the video.
https://github.com/user-attachments/assets/016b70f6-e796-4342-aac1-19df14acdda2
Working as it should now, the breadcrumbs show correctly.
https://github.com/user-attachments/assets/4fa4d5f9-6488-419f-b8e5-010c1882b9c1