Skip to content

Validation errors not catching missing information on new map creation, showing errors #1517

@sentry

Description

@sentry

ActionView::Template::Error: No route matches {:action=>"index", :controller=>"warpables", :map_id=>nil}, missing required key...

Sentry Issue: MAPKNITTER-F

ActionController::UrlGenerationError: No route matches {:action=>"index", :controller=>"warpables", :map_id=>nil}, missing required keys: [:map_id]
  app/views/images/_new.html.erb:13:in `_app_views_images__new_html_erb__2696171409135089669_69868105663600'
    <%= form_for [@map, Warpable.new],  :html => { :multipart => true, :id => "fileupload" } do |f| %>
  app/views/layouts/knitter2.html.erb:186:in `_app_views_layouts_knitter__html_erb__2246446936845659260_69868103389560'
    <%= render :partial => "/images/new" unless params[:action] == 'new' %>
  app/controllers/maps_controller.rb:52:in `create'
    render 'new'
...
(148 additional frame(s) were not displayed)

ActionView::Template::Error: No route matches {:action=>"index", :controller=>"warpables", :map_id=>nil}, missing required keys: [:map_id]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions