Error when embedding a board from Deck: can't access property "params", this.$route is undefined
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
Describe the bug
There is an error shown and logged to the browser console, but the board preview / widget seems to load just fine.
The error says "can't access property "params", this.$route is undefined"
To Reproduce
Steps to reproduce the behavior:
- Embed a board from Deck into a Text document
- Each time you open that document, the error is shown
Expected behavior
No error message
Server details:
- Nextcloud version: 31.0.8
- Deck version: 1.15.2
Client details:
- OS: Linux
- Browser: Firefox
- Browser version: 142.0.1
- Device: desktop
Wasn't sure if I should report this here in Text or in Deck.
Contributor guide
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 by reproducing the issue by embedding a Deck board in a Text document and reopening the document in Firefox. Inspect the browser console and the embedded board's route handling to locate the access to this.$route; done means the board preview still loads without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100