Project

General

Profile

Actions

Bug #31280

open

undefined method substitutor for Nil:NilClass

Added by Jeremy Lenz over 4 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

this error was mentioned in the Satellite chat.

At https://github.com/Katello/katello/blob/df7286071ce42b67cf17a30cf6b201435a6354fa/app/lib/actions/katello/repository_set/scan_cdn.rb#L38

we have a line
```
return unless (cdn_resource = product.cdn_resource)
```

Should this be a `==`?

Actions

Also available in: Atom PDF