Project

General

Profile

Bug #963

We can't add a smart proxy which doesn't support any feature

Added by Romain Vrignaud almost 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Smart Proxy
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Hello,

If I try to add a smart-proxy in foreman whereas it does not support any feature,
I got an apache error (with passenger) :
"NoMethodError (undefined method `empty?' for true:TrueClass):"

Thx in advance

Associated revisions

Revision 31e8c71b (diff)
Added by Ohad Levy about 11 years ago

fixes #963 - can't add a smart proxy which doesn't support any feature

Revision 6484ee30 (diff)
Added by Ohad Levy about 11 years ago

refs #963 - ensure that we reset the feature list each time

History

#1 Updated by Adrian Bridgett about 11 years ago

same here, v0.4.1:

NoMethodError
undefined method `empty?' for true:TrueClass
/usr/share/foreman/app/models/smart_proxy.rb:67:in `associate_features'
/usr/share/foreman/app/controllers/smart_proxies_controller.rb:15:in `create'

#2 Updated by Ohad Levy about 11 years ago

  • Category set to Smart Proxy
  • Assignee set to Ohad Levy
  • Target version set to 1.0

#3 Updated by Ohad Levy about 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF