Ticket #1935 (closed バグ指摘: 修正済)

Opened 10 years ago

Last modified 10 years ago

パラメータ NOSTOCK_HIDDEN = true を設定すると、MYページお気に入り一覧でエラー

Reported by: sunat134 Owned by: sunat134
Priority: Milestone: EC-CUBE2.12.3
Component: フロント Version: 2.12.2
Keywords: Cc:
修正済み: yes


パラメータ設定で NOSTOCK_HIDDEN = true を設定すると、



2012/09/06 21:17:20 mypage/favorite.php Fatal error(E_USER_ERROR): DB処理でエラーが発生しました。
SQL: [SELECT COUNT(*) FROM dtb_products AS alldtl WHERE 0<>0 AND (stock_max >= 1 OR stock_unlimited_max = 1) ]
MDB2 Error: no such field
prepare: [Error message: Unable to create prepared statement handle]
[Last executed query: DEALLOCATE PREPARE mdb2_statement_pgsql_8fc140be03b2bb64affcf6391de22e5bb90ec8165]
[Native message: ERROR: column "stock_max" does not exist
LINE 1: ... dtb_products AS alldtl WHERE 00 AND (stock_max ...


Change History

comment:1 Changed 10 years ago by sunat134

  • Status changed from new to assigned

comment:2 Changed 10 years ago by sunat134

  • 修正済み set
  • Milestone set to EC-CUBE 2.12.3

#1881 に習って修正しました。

r22025 にて対応

comment:3 Changed 10 years ago by kim

  • Status changed from assigned to closed
  • Resolution set to 修正済

sunat134 様 ありがとうございます。修正確認いたしました。

Note: See TracTickets for help on using tickets.