Bug #10771
closedCan't sync puppet forge repo
Description
Trying to sync https://forge.puppetlabs.com/ as a product repo results in this server error
2015-06-10 11:39:35 [sql] [D] Katello::Repository Load (0.6ms) SELECT "katello_repositories".* FROM "katello_repositories" WHERE "ka
tello_repositories"."pulp_id" = 'Default_Organization-puppet_4-puppet_forge' ORDER BY katello_repositories.name ASC LIMIT 1
2015-06-10 11:39:35 [app] [E] Error in progress calculation
2015-06-10 11:39:35 [app] [E] undefined method `[]' for nil:NilClass (NoMethodError)
| /home/vagrant/katello/app/lib/actions/pulp/repository/presenters/puppet_presenter.rb:32:in `total_count'
| /home/vagrant/katello/app/lib/actions/pulp/repository/presenters/puppet_presenter.rb:7:in `progress'
| /home/vagrant/katello/app/lib/actions/pulp/repository/sync.rb:36:in `run_progress'
| /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.7.8/lib/dynflow/action/progress.rb:17:in `block in run'
Steps to reproduce
1. Content > Products
2. Click on the +New Product button.
3. Once the product is created, select the product and click the Create Repository
button. Fill out the form and add the repository URL https://forge.puppetlabs.com/
4. Navigate back to repository and click Sync Now