2 small URL Bugs

Đang mở Phù hợp với người mới
#8,834 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
76/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, php
Lĩnh vực
frontend

Hướng nghiên cứu

Bắt đầu với các route URL của board và card trong Deck cho /apps/deck/board/[boardNumber]/ và /apps/deck/board/[boardNumber]/card/[cardNumber]. Theo dõi cách dấu gạch chéo cuối được khớp và cách việc di chuyển card cập nhật cả trạng thái sidebar lẫn URL của trình duyệt. Hoàn tất nghĩa là dấu gạch chéo cuối sẽ tải board thay vì trả về 404, và việc mở hoặc di chuyển card không bao giờ để lại một card identifier cũ khiến board bị trống.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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]
Ngôn ngữ chính
JavaScript
Star
1.4k
Fork
380
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
72

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/deck

Tất cả issue của nextcloud/deck

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.