標準以外の販売元のアカウントで,商品が登録できない
標準の販売元以外の販売元に紐付けたメンバーで商品登録を行うと以下のエラーが発生する。
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound): app/controllers/admin/products_controller.rb:204:in `get_product' app/controllers/admin/products_controller.rb:29
productテーブルretailer_idカラムの初期値として1が指定されているため,ログイン中のアカウントとの販売元同一性チェックでエラーとなっている様です。
標準の販売元以外の販売元に紐付けたメンバーで商品登録を行うと以下のエラーが発生する。
productテーブルretailer_idカラムの初期値として1が指定されているため,ログイン中のアカウントとの販売元同一性チェックでエラーとなっている様です。