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

External redirect link fails to display to page author #2812

Open
HitmanInWis opened this issue Jul 9, 2024 · 2 comments · May be fixed by #2882
Open

External redirect link fails to display to page author #2812

HitmanInWis opened this issue Jul 9, 2024 · 2 comments · May be fixed by #2882

Comments

@HitmanInWis
Copy link

Bug present as of version: 2.24.7-SNAPSHOT

If a page has a Redirect specified in page properties, the page contents are replaced with:

"This page redirects to "

However, if the Redirect target is an external link, the text displays:

"This page redirects to " (no link)

The external link should render just the same as an internal link, but com.adobe.cq.wcm.core.components.internal.models.v1.RedirectItemImpl is only generating a link when the redirect points to an internal AEM path.

@HitmanInWis
Copy link
Author

Also if the Redirect target is an internal path that is invalid, the same thing happens. Though that's maybe acceptable, it might make more sense to show the invalid path since AEM will still redirect to that invalid path on wcmmode=disabled

@cdressler
Copy link

We have this exact same issue in our environment as well.

@ky940819 ky940819 linked a pull request Oct 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants