Project

General

Profile

Bug #22073

Test failure on Rails 5.1

Added by Tomer Brisker almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Tests are currently failing on Rails 5.1 with the following error:

ArgumentError: wrong number of arguments (1 for 0)
    plugin/app/models/katello/kt_environment.rb:83:in `default_content_view'
    plugin/app/models/katello/glue/pulp/repos.rb:47:in `prepopulate!'
    plugin/app/helpers/katello/sync_management_helper.rb:38:in `collect_repos' (ArgumentError)
/usr/local/rvm/gems/ruby-2.2.5@test_develop_pr_katello-1/gems/activerecord-5.1.4/lib/active_record/associations/singular_association.rb:5 

This is due to https://github.com/rails/rails/commit/09cac8c67afdc4b2a1c6ae07931ddc082629b277 which removed the force_reload argument on the singular association reader.


Related issues

Related to Katello - Bug #20317: Rails 5 compatibilityClosed2017-07-17

Associated revisions

Revision 91b7adcf (diff)
Added by Tomer Brisker almost 3 years ago

Fixes #22073 - Fix failing test on Rails 5.1

History

#1 Updated by Tomer Brisker almost 3 years ago

  • Related to Bug #20317: Rails 5 compatibility added

#2 Updated by Anonymous almost 3 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

#3 Updated by Eric Helms almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 284

Also available in: Atom PDF