Projet

Général

Profil

Actions

Bug #1268

fermé

Ajout d'un commentaire

Ajouté par Jonathan Schaeffer il y a plus de 8 ans. Mis à jour il y a plus de 8 ans.

Statut:
Fermé
Priorité:
Haut
Assigné à:
Claude Vro
Version cible:
Début:
19/08/2015
Echéance:
% réalisé:

100%

Temps estimé:

Description

I, [2015-08-19T17:48:34.074398 #28748]  INFO -- : Started POST "/co2atm/statistiques/make_stat_on_zoom" for 194.167.225.181 at 2015-08-19 17:48:34 +0200
I, [2015-08-19T17:48:34.077067 #28748]  INFO -- : Processing by StatistiquesController#make_stat_on_zoom as JS
I, [2015-08-19T17:48:34.077265 #28748]  INFO -- :   Parameters: {"utf8"=>"✓", "debut_date_stat"=>"1258558023540.3608", "fin_date_stat"=>"1258634979482.782", "commit"=>"Calculer Statistiques"}
I, [2015-08-19T17:48:34.089055 #28748]  INFO -- :   Rendered statistiques/make_stat_on_zoom.js.erb (5.2ms)
I, [2015-08-19T17:48:34.089566 #28748]  INFO -- : Completed 500 Internal Server Error in 12ms (ActiveRecord: 2.0ms)
F, [2015-08-19T17:48:34.092109 #28748] FATAL -- : 
ActionView::Template::Error (undefined method `round' for nil:NilClass):
    1: <% if @hashstat.size != 0 %>
    2:  $('#zoomstat_id').show();
    3:  $('#moyenne').html(<%= @hashstat["moyenne"].round(3) %>)
    4:  $('#max').html(<%= @hashstat["max"].round(3) %>)
    5:  $('#min').html(<%= @hashstat["min"].round(3) %>)
    6:  $('#ecarttype').html(<%= @hashstat["ecarttype"].round(3) %>)
  app/views/statistiques/make_stat_on_zoom.js.erb:3:in `_app_views_statistiques_make_stat_on_zoom_js_erb___2515928090447188528_70255478761820'

Il ne faut pas faire de calcul à partir des dates, simplement les enregistrer.

Mis à jour par Claude Vro il y a plus de 8 ans

  • Statut changé de Nouveau à Résolu
  • % réalisé changé de 0 à 100

Appliqué par commit commit:4088aaf5896085b654b63b64ea066351fbdc25cd.

Mis à jour par Jonathan Schaeffer il y a plus de 8 ans

  • Statut changé de Résolu à Fermé
Actions

Formats disponibles : Atom PDF