Defect #26564

Enumerations sorting does not work

Added by Sergey Gnuskov over 1 year ago. Updated over 1 year ago.

Status:ClosedStart date:
Priority:UrgentDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Administration
Target version:3.4.3
Resolution:Fixed Affected version:3.4.2

Description

When drag/drop enumerations, it makes successful request to server, but position does not change after page reload. The problem is that position attribute is not added to permitted params in enumerations controller, so it's skipped.

patch.diff Magnifier (565 Bytes) Sergey Gnuskov, 2017-07-28 10:56

issue-26564-test-v2.diff Magnifier (894 Bytes) Toshi MARUYAMA, 2017-07-30 06:29


Related issues

Related to Redmine - Defect #28925: Custom field values for enumerations not saved Closed

Associated revisions

Revision 16918
Added by Jean-Philippe Lang over 1 year ago

Fixed that Enumerations sorting is broken (#26564).

Patch by Sergey Gnuskov.

Revision 16919
Added by Jean-Philippe Lang over 1 year ago

Adds a test for #26564.

Patch by Toshi MARUYAMA.

History

#1 Updated by Sergey Gnuskov over 1 year ago

The patch is something like this: patch.diff.

#2 Updated by Go MAEDA over 1 year ago

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

Confirmed the problem. Setting target version to 3.4.3.

#3 Updated by Toshi MARUYAMA over 1 year ago

  • File issue-26564-test.diff added

This is test.

#4 Updated by Toshi MARUYAMA over 1 year ago

Simplified.

#5 Updated by Toshi MARUYAMA over 1 year ago

  • File deleted (issue-26564-test.diff)

#6 Updated by Go MAEDA over 1 year ago

  • Priority changed from Normal to Urgent

#7 Updated by Jean-Philippe Lang over 1 year ago

  • Status changed from Confirmed to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Fix and test committed, thanks.

#8 Updated by Go MAEDA 6 months ago

  • Related to Defect #28925: Custom field values for enumerations not saved added

Also available in: Atom PDF