Actions
Bug #17457
closedmultiple_checkboxes doesn't work with orgs/locs
Status:
Closed
Priority:
Normal
Assignee:
Category:
Organizations and Locations
Target version:
Description
multiple_checkboxes calls ActiveModel::Naming on associations that could be simply "Taxonomy". This results on a 500 error 'undefined method `taxonomies' for #<Filter:0x005593624bdd18>' (or whatever other class has the problem). Simply trying to edit a filter will throw this 500 error.
https://github.com/theforeman/foreman/blob/develop/app/helpers/form_helper.rb#L49
We've always had this problem , but since #16971 removed the check for only using that method for '> 5' associations, you'd only see the error if you had at least 6 organizations or locations (unlikely). Now it became more apparent and it shows up every time.
Updated by The Foreman Bot about 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Daniel Lobato Garcia
- Pull request https://github.com/theforeman/foreman/pull/4039 added
Updated by Daniel Lobato Garcia almost 8 years ago
- Target version changed from 1.4.3 to 1.15.5
Updated by Anonymous almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 46ab6100609e769faeaca3a475b31445a8d72b3d.
Updated by Dominic Cleal almost 8 years ago
- Translation missing: en.field_release set to 189
Actions