Project

General

Profile

Actions

Bug #22073

closed

Test failure on Rails 5.1

Added by Tomer Brisker almost 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
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 1 (0 open1 closed)

Related to Katello - Bug #20317: Rails 5 compatibilityClosedDaniel Lobato Garcia07/17/2017Actions
Actions #1

Updated by Tomer Brisker almost 7 years ago

  • Related to Bug #20317: Rails 5 compatibility added
Actions #2

Updated by Anonymous almost 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms almost 7 years ago

  • Translation missing: en.field_release set to 284
Actions

Also available in: Atom PDF