Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

mingming-cn
Copy link

@mingming-cn mingming-cn commented May 18, 2024

This PR is to fix a ProjectSystemDefaultChangeException that occurs when allowed_projects.count equals 1.

If you update the default project dashboard, the following exception will occur:

Dashboard::ProjectSystemDefaultChangeException (Dashboard::ProjectSystemDefaultChangeException):

plugins/additionals/app/models/dashboard.rb:389:in 'validate_project_system_default'
plugins/additionals/app/controllers/dashboards_controller.rb:113:in 'update'
lib/redmine/sudo_mode.rb:61:in 'sudo_mode'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.