Project

General

Profile

Actions

Defect #12940

closed

Workflow permission of "read-only" on required custom fields prevents submission of issues

Added by Anonymous about 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues workflow
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

Workflow permission of "read-only" on a Custom field with "required" checked will prevent submission of issues.

Validation of required fields for which users have "read-only" permissions should be skipped when creating or updating issues; or an option should be created to allow a required field to be skipped if "read-only" when setting a field to required.

Steps to reproduce.
1.) Create a custom Issues field (ex. Billable w/ Format = list)
2.) Make sure to make this field required.
3.) Under Workflow -> Fields permissions set this new custom field to read-only for any role or tracker (ex. Role: Client & Tracker: Feature)
4.) Login as a user with a role with read-only permission on the custom field. (ex. Client)
5.) Attempt to create a new Issue or Update an issue with the custom field unset.
6.) On saving the user will be told that the custom field is required, but they are unable to view or change this field.


Related issues

Is duplicate of Redmine - Defect #19193: Custom Field definition inconsistencyNew

Actions
Actions #1

Updated by Anonymous about 11 years ago

Another option would be to remove the required check-box for custom fields and have this only be settable under workflow.

Actions #2

Updated by Etienne Massip about 11 years ago

Andrew Winter wrote:

Another option would be to remove the required check-box for custom fields and have this only be settable under workflow.

Yes, that's the solution.

Actions #3

Updated by Stephen Xu almost 11 years ago

+1 the same issue

Actions #4

Updated by Go MAEDA about 7 years ago

  • Is duplicate of Defect #19193: Custom Field definition inconsistency added
Actions #5

Updated by Go MAEDA about 7 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Fixed by #19193 (Redmine 3.1.0).

Actions

Also available in: Atom PDF