Project

General

Profile

Bug #33286

'"NoMethodError: undefined method `id\' for nil:NilClass" error while creating a repository.'

Added by James Jeffers 5 months ago. Updated 5 months ago.

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

Description

b'Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1992967 \n\n*Description of problem:*\n"NoMethodError: undefined method `id\' for nil:NilClass" error while creating a repository in a new organization and location.\n\n*Version-Release number of selected component (if applicable):*\n- Satellite 6.10.0 snap 12\n\n*How reproducible:*\n- Always\n\n*Steps to Reproduce:*\n1. Create Organization\n2. Create location, and add organization to it.\n3. Create product\n4. Try creating a repository.\n\n*Actual results:*\n- "Task f151931f-f32f-4bd8-ba1d-138bc9913489: NoMethodError: undefined method `id\' for nil:NilClass" error is shown.\n\n*Expected results:*\n- No error while creating a repository.\n\n*Additional info:*\n- I can see that the repository is created despite of the error shown.'


Related issues

Related to Katello - Bug #33308: Audit the code for SmartProxy lookups that should be unscopedClosed

Associated revisions

Revision 0678880b (diff)
Added by James Jeffers 5 months ago

Fixes #33286 - uses unscoped find query for smart proxy

History

#1 Updated by James Jeffers 5 months ago

  • Subject changed from b'"NoMethodError: undefined method `id\' for nil:NilClass" error while creating a repository.' to '"NoMethodError: undefined method `id\' for nil:NilClass" error while creating a repository.'

#2 Updated by The Foreman Bot 5 months ago

  • Assignee set to James Jeffers
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9562 added

#3 Updated by Chris Roberts 5 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.2.0
  • Category set to Repositories

#4 Updated by Jonathon Turel 5 months ago

  • Related to Bug #33308: Audit the code for SmartProxy lookups that should be unscoped added

#5 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases Katello 4.3.0 added

#6 Updated by James Jeffers 5 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF