nextcloud / nextcloud/text

Error when embedding a board from Deck: can't access property "params", this.$route is undefined

Open
#7,623 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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:

  1. Embed a board from Deck into a Text document
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.