2 small URL Bugs

Open Beginner friendly
#8,834 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript, php
Domain
frontend

Research direction

Start with the Deck board and card URL routes for /apps/deck/board/[boardNumber]/ and /apps/deck/board/[boardNumber]/card/[cardNumber]. Trace how trailing slashes are matched and how card moves update both the sidebar state and browser URL. Done means a trailing slash loads the board instead of returning 404, and opening or moving a card never leaves a stale card identifier that produces an empty board.

Written by the indexing model from the issue text.

Description

1. to develop bug
How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Describe the bug

  1. https://[domain]/apps/deck/board/[boardNumber]/ - the trailing slash leads to a 404

  2. https://[domain]/apps/deck/board/[boardNumber]/card/[someCardNumberThatHasSinceBeenMoved] - shows empty board

  • After moving a card away from the current board, the UI doesn't remove the card number from the URL. No issue for me if that would still be a valid URL.

To Reproduce
Go to the URLs in a NC Test installation (replace the numbers).

Expected behavior

  1. trailing slashes don't create 404, but act as if there was no trailing slash
  2. Still show the board, just with no card in the sidebar.
  • If a card is moved, the sidebar is closed and the URL changed.

Screenshots
1)
image

  1. Directly after moving the card t2:
image After reloading I see no cards at all: image

Client details:

  • OS: Linux
  • Browser LibreWolf
  • Version 147
  • Device: [not relevant]
Server details

Operating system: [not relevant]

Web server: [not relevant]

Database: [not relevant]

PHP version: 8.5.13

Nextcloud version: (see Nextcloud admin page) 34.0.6

Where did you install Nextcloud from: Docker

Signing status:

No errors have been found.

List of activated apps:

[not relevant

Nextcloud configuration:

[not relevant]

Are you using an external user-backend, if yes which one: [not relevant]

Logs
Nextcloud log (data/nextcloud.log)
[deck] Fehlersuche: OCA\Deck\Controller\BoardController::index returned raw data. Please wrap it in a Response or one of it's inheritors.
	GET /apps/deck/boards
	von [...] von [...] um 01.12.2026, 13:10:43
Browser log
[no logs from the deck-app; just in example 1 the 404 reply]
Dominant language
JavaScript
Stars
1.4k
Forks
380
Avg merge
1d 17h
Merged PRs (30d)
72

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from nextcloud/deck

All issues in nextcloud/deck

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.