Project

General

Profile

Actions

Defect #35224

open

Adding new project impossible with mandatory custom field of type users

Added by Marc Cramer over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Projects
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Redmine: 4.1.2
Rails: 5.2.4.4
PostgreSQL: 12.5
No Plugins

I was just hit by this issue, kind of a logical bug:

I cannot add a new project if there is a mandatory custom field with a user
drop-down list, since there are no users initially--but I cannot add users
unless the project has been created...

To reproduce:

- Add a custom field to projects
- Field type: Users
- Make the field mandatory
- Try to add a new project

Expected behaviour:

- Find a prefilled list of users in the drop down
- Able to submit (create new project)

Current behaviour:

- User list is empty (possibly because the project has no users?)
- Toggling inheritage of users does not help
- Cannot submit project because the custom field is still empty but mandatory

Workaround:

- Make custom field optional
- Add project (with empty user selection)
- Add users to the project
- Edit project again and select user from drop down list

Am I missing something trivial?

Thanks

Actions

Also available in: Atom PDF