Moving project panels results in 500 GetProjectBoard: project board does not exist #12660

Closed
opened 2025-11-02 10:17:29 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @silverwind on GitHub (Mar 16, 2024).

Description

  1. Create Project
  2. Create two panels in it
  3. Drag-and-drop the panels, swapping them. Observe 500 error from PUT request:
...web/repo/projects.go:526:checkProjectBoardChangePermissions() [E] GetProjectBoard: project board does not exist [id: 0]
...eb/routing/logger.go:102:func1() [I] router: completed PUT /silverwind/symlink-test/projects/1/0 for 127.0.0.1:56716, 500 Internal Server Error in 30.2ms @ repo/projects.go:546(repo.EditProjectBoard)

Reproduced on https://try.gitea.io/silverwind/symlink-test/projects/3308.

Gitea Version

main

Originally created by @silverwind on GitHub (Mar 16, 2024). ### Description 1. Create Project 2. Create two panels in it 3. Drag-and-drop the panels, swapping them. Observe 500 error from `PUT` request: ``` ...web/repo/projects.go:526:checkProjectBoardChangePermissions() [E] GetProjectBoard: project board does not exist [id: 0] ...eb/routing/logger.go:102:func1() [I] router: completed PUT /silverwind/symlink-test/projects/1/0 for 127.0.0.1:56716, 500 Internal Server Error in 30.2ms @ repo/projects.go:546(repo.EditProjectBoard) ``` Reproduced on https://try.gitea.io/silverwind/symlink-test/projects/3308. ### Gitea Version main
GiteaMirror added the topic/projectsissue/confirmedtype/bug labels 2025-11-02 10:17:29 -06:00
Author
Owner

@lunny commented on GitHub (Mar 17, 2024):

I cannot reproduce it on my local main branch.

@lunny commented on GitHub (Mar 17, 2024): I cannot reproduce it on my local main branch.
Author
Owner

@lng2020 commented on GitHub (Mar 17, 2024):

@lunny It only happens when sorting the default project board

@lng2020 commented on GitHub (Mar 17, 2024): @lunny It only happens when sorting the default project board
Author
Owner

@lunny commented on GitHub (Mar 19, 2024):

This will be resolved by #29874 but that cannot be backport to v1.21. Should we have another PR to do a quick fix for v1.21?

@lunny commented on GitHub (Mar 19, 2024): This will be resolved by #29874 but that cannot be backport to v1.21. Should we have another PR to do a quick fix for v1.21?
Author
Owner

@silverwind commented on GitHub (Mar 19, 2024):

It's not a critical thing, so I would not backport.

@silverwind commented on GitHub (Mar 19, 2024): It's not a critical thing, so I would not backport.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12660