vaadin / vaadin/flow-crm-tutorial
csp.js file throws client-side error with backend navigation
Open
Nobody has claimed this yet.
bug
- Dominant language
- Java
- Stars
- 204
- Forks
- 194
- Avg merge
- 55m
- Merged PRs (30d)
- 2
Description
The 24.5-strict-csp branch was really hopeful for getting started with CSP. However when I start to add some backend navigation, it throws client-side errors and the url is not updated.
Steps to reproduce:
- In
DashboardView, add a button for backend navigation,add(new Button("Go to List", buttonClickEvent -> UI.getCurrent().navigate(ListView.class))); - Start the application, and open the Chrome Dev Tools.
- Observe that upon clicking the button, it throws the errors in the Chrome Dev console, and the url is not updated.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start on the 24.5-strict-csp branch and inspect csp.js alongside the DashboardView navigation shown in the reproduction steps. Reproduce the click in Chrome DevTools and trace the client-side errors. Done means navigating to ListView updates the URL without those console errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, javascript, spring-boot
- Domain
- full-stack, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100