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

DevUI Router loads WebComponents twice when it's already loaded #36796

Closed
gbourant opened this issue Oct 31, 2023 · 1 comment · Fixed by #36888
Closed

DevUI Router loads WebComponents twice when it's already loaded #36796

gbourant opened this issue Oct 31, 2023 · 1 comment · Fixed by #36888
Assignees
Labels
area/dev-ui kind/bug Something isn't working
Milestone

Comments

@gbourant
Copy link

Describe the bug

The router-controller.js file defines how the routing should happen.

At the line 204 we trigger the Router with Router.go({pathname: path, search}) causing the load of the same web component twice.

In order to identify it, just write a console.log message to QwcConfiguration constructor (or any other which is load by the router) and see that it wrongly fires twice.

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@gbourant gbourant added the kind/bug Something isn't working label Oct 31, 2023
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 31, 2023

/cc @cescoffier (devui), @phillip-kruger (devui)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dev-ui kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants