core icon indicating copy to clipboard operation
core copied to clipboard

Page Preview Generation Issue with Non-Existent Language Bookmark in dotCMS

Open bryanboza opened this issue 1 year ago • 1 comments

Problem Statement

In dotCMS, users encounter an issue where generating a page preview is not possible if they attempt to add a bookmark in a language for which the page does not exist. This limitation hinders the ability to effectively manage multilingual content and disrupts the workflow for users working with multiple languages.

https://github.com/dotCMS/core/assets/2641437/9b3b6227-8f04-4a15-b13e-eac74dbb8b9e

Steps to Reproduce

  • Log into the dotCMS backend with the necessary credentials.
  • Navigate to a page that exists in one language but not in another (e.g., exists in English but not in Spanish).
  • Attempt to add a bookmark to this page in the non-existent language (e.g., Spanish).
  • Observe that the page preview fails to generate.

Acceptance Criteria

Graceful Handling of Non-Existent Language Pages: When a user attempts to add a bookmark in a language that the page does not exist in, the system should handle this gracefully, either by providing a meaningful error message or by redirecting to a default language version.

Documentation Update: Update the dotCMS documentation to clearly explain the behavior of the page preview feature in the context of multilingual content management.

dotCMS Version

Tested on master // Docker // FF

Proposed Objective

Quality Assurance

Proposed Priority

Priority 2 - Important

bryanboza avatar Nov 14 '23 19:11 bryanboza