Bug #963

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

Added by Romain Vrignaud 12 months ago. Updated about 1 month ago.

Status:Closed Start:06/07/2011
Priority:Normal Due date:
Assigned to:Ohad Levy % Done:

100%

Category:smart proxies
Target version:0.5
Backlog:No Difficulity:
Votes: 1 (View)

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 31e8c71bf48d5bfa293401015749439b6b4eb35a
Added by Ohad Levy 4 months ago

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

Revision 6484ee303fa1bae11fb582328a4c8d34b22a26fd
Added by Ohad Levy 4 months ago

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

History

Updated by Adrian Bridgett 4 months 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'

Updated by Ohad Levy 4 months ago

  • Category set to smart proxies
  • Assigned to set to Ohad Levy
  • Target version set to 0.5

Updated by Ohad Levy 4 months ago

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

Also available in: Atom PDF