Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PageAPI not working for non-default URLMapped language content #25624

Closed
bryanboza opened this issue Jul 26, 2023 · 3 comments
Closed

PageAPI not working for non-default URLMapped language content #25624

bryanboza opened this issue Jul 26, 2023 · 3 comments

Comments

@bryanboza
Copy link
Member

bryanboza commented Jul 26, 2023

Problem Statement

The preview action from edit content and the new Pages portlet is not functioning correctly for URL Mapped contents when they are in a non-default language. Instead of displaying the preview, an error message stating "This URL does not exist" is shown.

image

image

LOG: https://gist.github.com/bryanboza/5aaed4bfb9f57a11677c06f476e8f6a0

Steps to Reproduce

  • Login as admin
  • Create a Blog, Event, or Activities content in the chosen non-default language.
  • Attempt to preview the content by using the preview action.

Acceptance Criteria

  • When using the preview action on a Blog, Event, or Activities content in a non-default language, the content should be displayed correctly in the preview mode.
  • The error message "This URL does not exist" should not be shown.

dotCMS Version

Tested on master // Docker // FF

Proposed Objective

Quality Assurance

Proposed Priority

Priority 2 - Important

@wezell wezell changed the title Preview action not working for non-default language content Page Preview action not working for non-default language content Jul 26, 2023
@wezell wezell changed the title Page Preview action not working for non-default language content PageAPI not working for non-default URLMapped language content Jul 26, 2023
@bryanboza
Copy link
Member Author

Plase test the #25628 as part of the fix

@freddyucv freddyucv self-assigned this Jul 27, 2023
dsilvam pushed a commit that referenced this issue Aug 1, 2023
…content (#25650)

* Fixing bug when decide if create a Anonymous Template

* Fixing error on DotPageRenderService

* #25624 Fallback by language when try to render a Detail Page

* quick test resutls fix

---------

Co-authored-by: Victor Alfaro <victor.alfaro@dotcms.com>
@dsilvam dsilvam added the Merged label Aug 1, 2023
@freddyucv freddyucv removed their assignment Aug 1, 2023
@hmoreras
Copy link
Contributor

hmoreras commented Aug 1, 2023

pass internal QA, now redirect to the URL in spanish.

@josemejias11
Copy link

Approved QA - Tested on master_b295876_SNAPSHOT // Docker // macOS 13.0 // FF v113.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

6 participants