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

xlinkHref icons display error when using CDN #5688

Closed
fortunatomaldonado opened this issue Oct 9, 2023 · 1 comment
Closed

xlinkHref icons display error when using CDN #5688

fortunatomaldonado opened this issue Oct 9, 2023 · 1 comment
Labels
type: bug Issues reporting that Component is not doing what should be done

Comments

@fortunatomaldonado
Copy link
Member

Is there an example you can provide via codesandbox.com?

What are the steps to reproduce?

https://liferay.atlassian.net/browse/LPS-197657
1.Start up Liferay.

2.Configure a CDN by going to Instance Settings > Instance Configuration > General and setting

  • CDN Host HTTP: http://www-cdn.liferay.com/
  • CDN Host HTTPS: https://www-cdn.liferay.com/
  • Enable CDN Dynamic Resources: checked (I use the Liferay cdn to reproduce the issue to avoid setting up a proper CDN, but the navigation breaks sometimes; so keep the configuration view open to unset the configuration if needed.)
  1. In a new tab, open the developer tools with the console tab and go to localhost:8080.

Actual Result
There errors in the console: Unsafe attempt to load URL http://www-cdn.liferay.com/o/classic-theme/images/clay/icons.svg from frame with URL http://localhost:8080/. Domains, protocols and ports must match.

What is the expected result?

There is a request to http://www-cdn.liferay.com/o/classic-theme/images/clay/icons.svg with no issues.

Environment

Tech Version
Clay v?.?.?
React
@fortunatomaldonado fortunatomaldonado added the type: bug Issues reporting that Component is not doing what should be done label Oct 9, 2023
@github-actions github-actions bot closed this as completed Oct 9, 2023
@github-actions
Copy link

github-actions bot commented Oct 9, 2023

Thanks for sending your Clay issue to PEDS Team.

@fortunatomaldonado, we appreciate your contribution, however, please be informed that we have transitioned away from using GitHub issues to track and prioritize our work. At present, we are exclusively utilizing LPS tickets for issue management. Therefore, we kindly request you to create your LPS tickets for any new matters or inquiries ;)

Link for How To Open a LPS Ticket to Clay

If you are an external contributor, we strongly recommend reaching out to our support team for further assistance :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Issues reporting that Component is not doing what should be done
Projects
None yet
Development

No branches or pull requests

1 participant