Project

General

Profile

Bug #7068

Repo sync fails after Fix #6870/BZ1075523

Added by Partha Aji about 5 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Create a repo
Sync it

Error
undefined method `hidden' for #<Class:0x0000000d6beab0> (NoMethodError)
gems/ruby-2.0.0-p481/gems/activerecord-3.2.18/lib/active_record/dynamic_matchers.rb:55:in `method_missing'
/katello/app/lib/actions/katello/repository/correct_checksum.rb:23:in `finalize'

Basically after the commit for #6870/BZ1075523, all instance of the User.hidden was replaced with User.anonymous_admin in katello code. Sounds like there was a missed spot in this file /katello/app/lib/actions/katello/repository/correct_checksum.rb.

Associated revisions

Revision 73a95697 (diff)
Added by Partha Aji about 5 years ago

Fixes #7068/bz1129775 - Fix repo sync checksum error

When one synced a repo priori to this commit, we got an error that
looked like

Error
undefined method `hidden' for #<Class:0x0000000d6beab0> (NoMethodError)
gems/ruby-2.0.0-p481/gems/activerecord-3.2.18/lib/active_record/dynamic_matchers.rb:55:in
`method_missing'
/katello/app/lib/actions/katello/repository/correct_checksum.rb:23:in
`finalize'

Basically after the commit for #6870/BZ1075523, all instance of the
User.hidden was replaced with User.anonymous_admin in katello code.
Sounds like there was a missed spot in this file
/katello/app/lib/actions/katello/repository/correct_checksum.rb.

this commit fixes this.
"

Revision f51e256c
Added by Partha Aji about 5 years ago

Merge pull request #4576 from parthaa/hidden-fix

Fixes #7068/bz1129775 - Fix repo sync checksum error

History

#1 Updated by Partha Aji about 5 years ago

  • Bugzilla link set to 1129775

#2 Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 54
  • Pull request https://github.com/Katello/katello/pull/4576 added
  • Pull request deleted ()

#3 Updated by Partha Aji about 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Eric Helms about 5 years ago

  • Triaged changed from No to Yes

#5 Updated by Eric Helms about 5 years ago

  • Legacy Backlogs Release (now unused) set to 13

Also available in: Atom PDF