Issue #7560 has been updated by Pieter van de Bruggen.

Assignee set to Pieter van de Bruggen

The expected behavior here (other than "don't die") is ambiguous.  Some options:

  * Don't display the chart, but display a "No data avaialble" message in its 
place.
  * Don't display the chart at all.
  * Display the chart with 0% across the board.
  * Display the chart with 100% across the board.
  * Display the chart with NaN% across the board.

We're looking for an official recommendation on this, especially since this is 
the initial impression given by every new Dashboard installation.
----------------------------------------
Bug #7560: Dashboard crashes with no nodes
https://projects.puppetlabs.com/issues/7560

Author: Randall Hansen
Status: Accepted
Priority: Normal
Assignee: Pieter van de Bruggen
Category: 
Target version: 
Keywords: 
Branch: 
Affected URL: 
Affected Dashboard version: 


In Dashboard:app/views/pages/_node_summary_row.haml the `percentage` helper is 
called twice. It looks like the function dies if there are no nodes in the app. 
Adding node data makes the error go away.

Introduced in #6989.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to