Project

General

Profile

Actions

Defect #20677

closed

Custom fields with multiple values required by worklow can be blank

Added by Pavel Rosický about 9 years ago. Updated about 9 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

How to simulate:
1/ create new cf type list, non-required, select multiple values
2/ set cf as required in workflow
3/ update issue (cf is marked with * as required)
4/ issue will be saved without an error, even if you don't select any value

How it should work?
Validation error should be shown, because the custom field is required.

Fix & Test included


Files

issues_controller_test.rb.patch (10.2 KB) issues_controller_test.rb.patch Pavel Rosický, 2015-09-04 23:49
issue.rb.patch (522 Bytes) issue.rb.patch Pavel Rosický, 2015-09-04 23:49

Related issues

Has duplicate Redmine - Defect #17039: Custom fieldClosed

Actions
Actions

Also available in: Atom PDF