Bug #33286
closed'"NoMethodError: undefined method `id\' for nil:NilClass" error while creating a repository.'
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.'