Defect #33059

"Role" dropdown in Workflow page is unexpectedly expanded when selecting "all"

Added by Mizuki ISHIKAWA about 1 month ago. Updated about 1 month ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Issues workflow
Target version:4.0.7
Resolution:Fixed Affected version:

Description

Expected Result Actual Result

As shown in the "Actual Result" above, even if "all" is selected in roles, pressing the Edit button will display "multiple selectbox with all options selected" instead of "all".

After all, there is no problem because all roles can be selected.
However, it is unnatural for the contents of the select box to change.

This problem occurs because find_roles in workflows_controller.rb was not fixed at the same time as change #15988.

diff.patch Magnifier (1.32 KB) Mizuki ISHIKAWA, 2020-02-28 09:33

actual_result.gif (510 KB) Mizuki ISHIKAWA, 2020-02-28 09:40

expected_result.gif (533 KB) Mizuki ISHIKAWA, 2020-02-28 09:40


Related issues

Related to Redmine - Defect #15988: Unexpected behaviour on issue fields for users that have ... Closed

Associated revisions

Revision 19538
Added by Go MAEDA about 1 month ago

"Role" dropdown in Workflow page is unexpectedly expanded when selecting "all" (#33059).

Patch by Mizuki ISHIKAWA.

Revision 19543
Added by Go MAEDA about 1 month ago

Merged r19538 from trunk to 4.1-stable (#33059).

Revision 19544
Added by Go MAEDA about 1 month ago

Merged r19538 from trunk to 4.0-stable (#33059).

History

#1 Updated by Marius BALTEANU about 1 month ago

  • Status changed from New to Confirmed
  • Target version set to 4.0.7

#2 Updated by Go MAEDA about 1 month ago

  • Related to Defect #15988: Unexpected behaviour on issue fields for users that have multiple roles added

#3 Updated by Go MAEDA about 1 month ago

  • Subject changed from @roles is incorrect when the selected option is "all" in find_roles of workflows. to "Role" dropdown in Workflow page is unexpectedly expanded when selecting "all"
  • Category changed from UI to Issues workflow
  • Assignee set to Go MAEDA

Committed the patch. Thank you for detecting and fixing the issue.

#4 Updated by Go MAEDA about 1 month ago

  • Status changed from Confirmed to Closed
  • Resolution set to Fixed

Also available in: Atom PDF