smpallen99 / ex_admin

ExAdmin is an auto administration package for Elixir and the Phoenix Framework
MIT License
1.2k stars 272 forks source link

bad request to ExAdmin.AdminController.batch_action, no matching action clause to process request #182

Open sobolevn opened 8 years ago

sobolevn commented 8 years ago

When trying to click on this combobox:

2016-07-23 18 50 13

This error happens:

2016-07-23 18 49 28

To make things clear: I have not done any customizations on batch actions. Here's the code for the failing model (actually all of them has this issue):

defmodule ElixirLangMoscow.ExAdmin.EventSpeaker do
  use ExAdmin.Register

  register_resource ElixirLangMoscow.EventSpeaker do
    menu priority: 2

    scope :all, default: true

    query do
      %{all: [preload: [:event, :speaker]]}
    end

  end
end
smpallen99 commented 8 years ago

what version of ex_admin?

sobolevn commented 8 years ago

Oh, sorry. The same as the last issue:

"ex_admin": {:hex, :ex_admin, "0.7.6", "8ea0b7d21a073bd901edf37a10808a0c504d9bd952e41b19cb78a896ab253c00", [:mix], [{:xain, "~> 0.5.3", [hex: :xain, optional: false]}, {:scrivener, "~> 1.0", [hex: :scrivener, optional: false]}, {:phoenix_html, "~> 2.5", [hex: :phoenix_html, optional: false]}, {:phoenix_ecto, "~> 2.0", [hex: :phoenix_ecto, optional: false]}, {:phoenix, "~> 1.1", [hex: :phoenix, optional: false]}, {:inflex, "~> 1.5", [hex: :inflex, optional: false]}, {:factory_girl_elixir, "~> 0.1.1", [hex: :factory_girl_elixir, optional: false]}, {:exactor, "~> 2.2.0", [hex: :exactor, optional: false]}, {:ex_queb, "~> 0.1", [hex: :ex_queb, optional: false]}, {:ecto, "~> 1.1", [hex: :ecto, optional: false]}, {:decimal, "~> 1.0", [hex: :decimal, optional: false]}, {:csvlixir, "~> 1.0.0", [hex: :csvlixir, optional: false]}, {:cowboy, "~> 1.0", [hex: :cowboy, optional: false]}]},

smpallen99 commented 8 years ago

Have you tried this with master?