Project

General

Profile

Bug #963

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

Added by Romain Vrignaud almost 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Smart proxies
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

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 over 7 years ago

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

Revision 6484ee30 (diff)
Added by Ohad Levy over 7 years ago

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

History

#1 Updated by Adrian Bridgett over 7 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 over 7 years ago

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

#3 Updated by Ohad Levy over 7 years ago

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

Also available in: Atom PDF