Project

General

Profile

Actions

Errores #1224

closed

Error al guardar el detalle de presupuesto

Added by Santiago Ramos about 13 years ago. Updated over 12 years ago.

Status:
Resuelta
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
11/16/2011
Due date:
% Done:

0%

Estimated time:
2:00 h
VersiĆ³n:

Description

Rendering presupuesto_detallado/mensaje_formulario

ActionView::TemplateError (undefined method `+' for nil:NilClass) on line #7 of app/views/presupuesto_detallado/mensaje_formulario.rjs:
4: page.call("Modalbox.resizeToContent")
5: if @objeto.class.name == "Presupuesto" || @objeto.class.name == "Gasto" 
6:   #page.replace 'presupuesto_detallado_' + @objeto.id.to_s, :partial => 'icono_presupuesto_detallado', :locals => {:objeto => @objeto}
7:   page.replace params[:update] + "_presupuesto_detallado", :partial => 'presupuesto_proyectos/icono_presupuesto_detallado', :locals => {:objeto => @objeto}
8: end

    app/views/presupuesto_detallado/mensaje_formulario.rjs:7:in `_run_rjs_app47views47presupuesto_detallado47mensaje_formulario46rjs'
    app/views/presupuesto_detallado/mensaje_formulario.rjs:1:in `_run_rjs_app47views47presupuesto_detallado47mensaje_formulario46rjs'
    app/controllers/presupuesto_detallado_controller.rb:37:in `guardar'
Actions #1

Updated by Jaime Ortiz almost 13 years ago

  • Assignee set to Jaime Ortiz
  • Target version set to 2.13

Si guardas un presupuesto detallado que antes ha dado un error al guardar el detalle, da un error: Parece que params[:update] esta a nil.

Actions #2

Updated by Santiago Ramos almost 13 years ago

  • Target version changed from 2.13 to 2.14
Actions #3

Updated by Santiago Ramos over 12 years ago

  • Target version changed from 2.14 to 2.15
Actions #4

Updated by Jaime Ortiz over 12 years ago

  • Estimated time set to 2:00 h
Actions #5

Updated by Jaime Ortiz over 12 years ago

  • Status changed from Nueva to Resuelta
Actions

Also available in: Atom PDF