Ticket #1337 (closed バグ指摘: 修正済)
商品マスタ、検索結果をすべて削除でDBエラー
Reported by: | Seasoft | Owned by: | Seasoft |
---|---|---|---|
Priority: | 低 | Milestone: | EC-CUBE2.11.2 |
Component: | 管理画面 | Version: | 2.11.1 |
Keywords: | Cc: | ||
修正済み: | yes |
Description (last modified by Seasoft) (diff)
フォーラムにて taji 様からご報告頂きました。
http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=8098&forum=9
・現象 管理画面の商品管理->商品マスタで、検索結果をすべて削除しようとすると システムエラーが発生します。 ・再現方法 1.システム設定>パラメータ設定 管理モード(ADMIN_MODE)をOn(1)に設定 2.商品管理>商品マスタ この条件で検索するボタンを押す 検索結果が1件以上の時に検索結果を全て削除を押す ・原因 /data/class/pages/admin/products/LC_Page_Admin_Products.phpの259行目あたりで お気に入り商品の削除時に存在しないカラムの条件(del_flg = 0)が指定されている為 エラーになっていると思われます。 site.log ---------------------------------------------------------------------------------------------------- SQL: DELETE FROM dtb_customer_favorite_products WHERE del_flg = 0 AND product_id = ? MDB2 Error: no such field prepare: [Error message: Unable to create prepared statement handle] [Last executed query: DEALLOCATE PREPARE mdb2_statement_pgsql_4d7a6363158c983e2df7dd31ee9dac1b6af20e1b8] [Native message: ERROR: column "del_flg" does not exist 行 1: DELETE FROM dtb_customer_favorite_products WHERE del_flg = 0... ---------------------------------------------------------------------------------------------------- ・環境 EC-CUBE:2.11.1 OS:Debian GNU/Linux 6.0.1(squeeze) PHP:5.3.3-7+squeeze1 PostgreSQL:9.0.3
Change History
Note: See
TracTickets for help on using
tickets.