Fixes #37987 - Filters dont inherit taxonomy on creation #2394
Annotations
10 errors
Run rake test:functionals:
test/controllers/api/v2/filters_controller_test.rb#L49
Failure: test_0005_should create non-overridable filter
Expected: false
Actual: nil
|
Run rake test:functionals:
test/controllers/api/v2/filters_controller_test.rb#L450
Failure: test_0001_should disable filter override
NoMethodError: undefined method `locations=' for #<Filter id: nil, search: nil, role_id: 424, created_at: nil, updated_at: nil, taxonomy_search: nil, override: true>
test/controllers/api/v2/filters_controller_test.rb:75:in `block (2 levels) in <class:FiltersControllerTest>'
|
Run rake test:functionals:
test/controllers/api/v2/filters_controller_test.rb#L104
Failure: test_0003_should not create overridable filter
"Filter.count" didn't change by 0.
Expected: 59
Actual: 60
|
Run rake test:functionals:
test/controllers/api/v2/filters_controller_test.rb#L98
Failure: test_0002_should create filter without override
NoMethodError: undefined method `[]' for nil:NilClass
test/controllers/api/v2/filters_controller_test.rb:98:in `block (2 levels) in <class:FiltersControllerTest>'
|
Run rake test:functionals:
test/controllers/api/v2/roles_controller_test.rb#L450
Failure: test_0005_should not update overridable filter taxonomies on role taxonomies update
NoMethodError: undefined method `organizations' for #<Filter id: 1062414794, search: nil, role_id: 501, created_at: "2025-01-29 18:05:52.247034000 +0000", updated_at: "2025-01-29 18:05:52.280753000 +0000", taxonomy_search: "(organization_id ^ (447626438)) and (location_id ^...", override: true>
test/controllers/api/v2/roles_controller_test.rb:226:in `block (2 levels) in <class:RolesControllerTest>'
|
Run rake test:functionals:
test/controllers/api/v2/roles_controller_test.rb#L450
Failure: test_0004_should update non-overridable filter taxonomies on role taxonomies update
NoMethodError: undefined method `organizations' for #<Filter id: 1062414795, search: nil, role_id: 504, created_at: "2025-01-29 18:05:52.542866000 +0000", updated_at: "2025-01-29 18:05:52.571159000 +0000", taxonomy_search: "(organization_id ^ (447626438)) and (location_id ^...", override: false>
test/controllers/api/v2/roles_controller_test.rb:211:in `block (2 levels) in <class:RolesControllerTest>'
|
Run rake test:functionals:
test/controllers/api/v2/filters_controller_test.rb#L450
Failure: test_0001_filter can override taxonomies
NoMethodError: undefined method `organizations' for #<Filter id: 1062414973, search: nil, role_id: 8, created_at: "2025-01-29 18:06:24.531245633 +0000", updated_at: "2025-01-29 18:06:24.531245633 +0000", taxonomy_search: nil, override: false>
test/controllers/api/v2/filters_controller_test.rb:131:in `block (2 levels) in <class:FiltersControllerTest>'
|
Run rake test:functionals:
test/controllers/api/v2/filters_controller_test.rb#L450
Failure: test_0002_taxonomies are ignored if override is not explicitly enabled
NoMethodError: undefined method `organizations' for #<Filter id: 1062414974, search: nil, role_id: 8, created_at: "2025-01-29 18:06:24.604779682 +0000", updated_at: "2025-01-29 18:06:24.604779682 +0000", taxonomy_search: nil, override: false>
test/controllers/api/v2/filters_controller_test.rb:140:in `block (2 levels) in <class:FiltersControllerTest>'
|
Run rake test:functionals:
test/controllers/roles_controller_test.rb#L450
Failure: test_0001_update syncs filters taxonomies if configuration changed
NoMethodError: undefined method `organizations' for #<Filter id: 1062414975, search: nil, role_id: 553, created_at: "2025-01-29 18:06:24.663890000 +0000", updated_at: "2025-01-29 18:06:24.722200000 +0000", taxonomy_search: "(organization_id ^ (447626936))", override: false>
test/controllers/roles_controller_test.rb:78:in `block (2 levels) in <class:RolesControllerTest>'
|
Run rake test:functionals:
test/controllers/roles_controller_test.rb#L450
Failure: test_0002_sets new taxonomies to filters after cloning properly
NoMethodError: undefined method `organizations' for #<Filter id: 1062414977, search: nil, role_id: 555, created_at: "2025-01-29 18:06:24.850749000 +0000", updated_at: "2025-01-29 18:06:24.850749000 +0000", taxonomy_search: "(organization_id ^ (447626938))", override: false>
test/controllers/roles_controller_test.rb:89:in `block (2 levels) in <class:RolesControllerTest>'
|
Loading