Proyecto

General

Perfil

Acciones

Errores #4423

abierta

Error al importar un fichero de Movimientos cuando se pretende actualizar los movimientos ya existentes

Añadido por Alvaro Irureta-Goyena hace más de 3 años. Actualizado hace más de 3 años.

Estado:
Nueva
Prioridad:
Alta
Asignado a:
Categoría:
-
Versión prevista:
-
Fecha de inicio:
2021-05-25
Fecha fin:
% Realizado:

0%

Tiempo estimado:
Versión:

Descripción

Para reproducir:
1) Exportar a Excel movimientos de un proyecto
2) Impotar el mismo fichero sin haberlo editado

LOG: Dos erroes diferentes<

wrong number of arguments (given 2, expected 1)
["/usr/local/rvm/gems/ruby-2.4.10@gor-rails4/gems/activerecord-4.2.11.3/lib/active_record/dynamic_matchers.rb:69:in `find_by_id'", "/usr/local/rvm/gems/ruby-2.4.10@gor-rails4/gems/activerecord-4.2.11.3/lib/active_record/relation/delegation.rb:70:in `block in find_by_id'", "/usr/local/rvm/gems/ruby-2.4.10@gor-rails4/gems/activerecord-4.2.11.3/lib/active_record/associations/collection_proxy.rb:874:in `block in scoping'", "/usr/local/rvm/gems/ruby-2.4.10@gor-rails4/gems/activerecord-4.2.11.3/lib/active_record/relation.rb:302:in `scoping'", "/usr/local/rvm/gems/ruby-2.4.10@gor-rails4/gems/activerecord-4.2.11.3/lib/active_record/associations/collection_proxy.rb:874:in `scoping'", "/usr/local/rvm/gems/ruby-2.4.10@gor-rails4/gems/activerecord-4.2.11.3/lib/active_record/relation/delegation.rb:70:in `find_by_id'", "/usr/share/gong/gor/app/controllers/importacion_controller.rb:345:in `actualiza_transferencia'", "/usr/share/gong/gor/app/controllers/importacion_controller.rb:295:in `block (2 levels) in importa_transferencias'",
... y  más
>>>>>>>>>>>> Error parseando fecha: undefined method `to_datetime' for nil:NilClass
             nil
wrong number of arguments (given 2, expected 1)
["/usr/local/rvm/gems/ruby-2.4.10@gor-rails4/gems/activerecord-4.2.11.3/lib/active_record/dynamic_matchers.rb:69:in `find_by_id'", "/usr/local/rvm/gems/ruby-2.4.10@gor-rails4/gems/activerecord-4.2.11.3/lib/active_record/relation/delegation.rb:70:in `block in find_by_id'", "/usr/local/rvm/gems/ruby-2.4.10@gor-rails4/gems/activerecord-4.2.11.3/lib/active_record/associations/collection_proxy.rb:874:in `block in scoping'", "/usr/local/rvm/gems/ruby-2.4.10@gor-rails4/gems/activerecord-4.2.11.3/lib/active_record/relation.rb:302:in `scoping'", "/usr/local/rvm/gems/ruby-2.4.10@gor-rails4/gems/activerecord-4.2.11.3/lib/active_record/associations/collection_proxy.rb:874:in `scoping'", "/usr/local/rvm/gems/ruby-2.4.10@gor-rails4/gems/activerecord-4.2.11.3/lib/active_record/relation/delegation.rb:70:in `find_by_id'", "/usr/share/gong/gor/app/controllers/importacion_controller.rb:345:in `actualiza_transferencia'" 
Acciones

Exportar a: Atom PDF