Skip to content

Error trying to edit order #91

@jalberto

Description

@jalberto
, [2013-12-19T10:12:51.548328 #5549]  INFO -- : Completed 500 Internal Server Error in 81ms                                                                       [131/9267]
F, [2013-12-19T10:12:51.555352 #5549] FATAL -- : 
ActionView::Template::Error (wrong number of arguments (1 for 3)):
    1: <% shipment.manifest.each do |item| %>
    2:   <% line_item = order.find_line_item_by_variant(item.variant) %>
    3: 
    4:   <tr class="stock-item" data-item-quantity="<%= item.quantity %>">
    5:     <td class="item-image"><%= mini_image(item.variant) %></td>
  /home/deploy/pequecanciones/shared/bundle/ruby/2.0.0/bundler/gems/spree_flexi_variants-b4d1f186f568/app/models/spree/order_decorator.rb:36:in `find_line_item_by_variant'
  spree_backend (2.1.2) app/views/spree/admin/orders/_shipment_manifest.html.erb:2:in `block in _71513894e59cfae549481e80232ff5f4'
  spree_backend (2.1.2) app/views/spree/admin/orders/_shipment_manifest.html.erb:1:in `each'
  spree_backend (2.1.2) app/views/spree/admin/orders/_shipment_manifest.html.erb:1:in `_71513894e59cfae549481e80232ff5f4'
  actionpack (4.0.1) lib/action_view/template.rb:143:in `block in render'
  activesupport (4.0.1) lib/active_support/notifications.rb:161:in `instrument'
  actionpack (4.0.1) lib/action_view/template.rb:141:in `render'
  deface (1.0.0.rc4) lib/deface/action_view_extensions.rb:41:in `render'
  actionpack (4.0.1) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
  actionpack (4.0.1) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
  actionpack (4.0.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
  activesupport (4.0.1) lib/active_support/notifications.rb:159:in `block in instrument'
  activesupport (4.0.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activesupport (4.0.1) lib/active_support/notifications.rb:159:in `instrument'
  actionpack (4.0.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
  actionpack (4.0.1) lib/action_view/renderer/partial_renderer.rb:278:in `render'
  actionpack (4.0.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
  actionpack (4.0.1) lib/action_view/helpers/rendering_helper.rb:27:in `render'
  spree_backend (2.1.2) app/views/spree/admin/orders/_shipment.html.erb:36:in `_8390c1f65fc8dd2c255ab0c35409605c'
  actionpack (4.0.1) lib/action_view/template.rb:143:in `block in render'
  activesupport (4.0.1) lib/active_support/notifications.rb:161:in `instrument'
  actionpack (4.0.1) lib/action_view/template.rb:141:in `render'
  deface (1.0.0.rc4) lib/deface/action_view_extensions.rb:41:in `render'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions