ec-cube2
ec-cube2 copied to clipboard
商品規格登録画面でFatal Error
手順
-
EC-CUBE 2.13.5 インストール直後の状態で、アイスクリームの商品規格編集画面を表示する。
-
任意の規格行のチェックボックスのチェックを外し、同じ行の税率を空白にする。
-
確認ボタン及び登録ボタンを押下する。
Fatal error(E_USER_ERROR): DB処理でエラーが発生しました。
SQL: [UPDATE dtb_tax_rule SET calc_rule= $1, tax_rate= $2, tax_adjust= $3, apply_date= $4, member_id= $5, update_date= CURRENT_TIMESTAMP WHERE tax_rule_id = $6]
PlaceHolder: [array (
0 => '1',
1 => '',
2 => 0,
3 => '2018/03/29 13:34:54',
4 => '2',
5 => '3',
)]
MDB2 Error: null value violates not-null constraint
_doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE mdb2_statement_pgsql_129b31413e90665439968dd0d60ec89b131ecbd659 ('1', NULL, 0, '2018/03/29 13:34:54', '2', '3')]
[Native message: ERROR: null value in column "tax_rate" violates not-null constraint
DETAIL: Failing row contains (3, 0, 0, 1, 1, 1, null, 0, 2018-03-29 13:34:54, 2, 0, 2018-01-16 05:49:33.870068, 2018-03-29 13:34:54.316364).]
2.17+mysqlで再現出来ませんでした 商品別税率機能 の不具合でしょうか?それともpostgres依存?