daniel
2010-Nov-22 09:38 UTC
[Puppet Users] Something wrong after upgraded to puppet-dashboard 1.04
After upgraded to puppet-dashboard 1.04, when I click links to check information of nodes or groups , such as http://localhost:3001/nodes/22, it return a "We''re sorry, but something went wrong." to me. Checking the log, i got something as follows: ActionView::TemplateError (undefined method `<=>'' for #<NodeGroup id: 5, name:"Web_Marketing">) on line #10 of app/views/shared/_g roups.html.haml: 21 7: %th Group 22 8: %th Source 23 9: %tbody 24 10: - resource.node_groups_with_sources.sort.each do | group,sources| 25 11: %tr 26 12: %td 27 13: %strong= link_to(group.name,group) 28 29 app/views/shared/_groups.html.haml:10:in `<=>'' 30 app/views/shared/_groups.html.haml:10:in `sort'' 31 app/views/shared/_groups.html.haml:10:in `_run_haml_app47views47shared47_groups46html46haml_locals_groups_object_resource'' 32 haml (3.0.13) [v] rails/./lib/haml/helpers/ action_view_mods.rb:11:in `render'' 33 haml (3.0.13) [v] lib/haml/helpers.rb:90:in `non_haml'' 34 haml (3.0.13) [v] rails/./lib/haml/helpers/ action_view_mods.rb:11:in `render'' 35 app/views/nodes/show.html.haml:17:in `_run_haml_app47views47nodes47show46html46haml'' 36 haml (3.0.13) [v] rails/./lib/haml/helpers/ action_view_mods.rb:13:in `render'' 37 haml (3.0.13) [v] rails/./lib/haml/helpers/ action_view_mods.rb:13:in `render'' 38 app/controllers/nodes_controller.rb:46:in `show'' 39 haml (3.0.13) [v] rails/./lib/sass/plugin/rack.rb:41:in `call'' Did anyone encounter this issue? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.