id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	modified_flg
2497	商品登録で、消費税率を共通設定とは異なる税率を設定して登録するとシステムエラーになる	kimoto	kimoto	"http://xoops.ec-cube.net/modules/newbb/viewtopic.php?viewmode=thread&topic_id=14179&forum=9

関連チケット http://svn.ec-cube.net/open_trac/ticket/2439

{{{
商品別税率機能を有効に設定している場合に、商品の新規登録で、消費税率を共通設定（基本設定）とは異なる税率を設定して登録するとシステムエラーになります。ECCUBEのバージョンは、2.13.1です。以下、障害発生時のエラーログです。2014/01/31 14:00:03 [/admin/products/product.php] Fatal error(E_USER_ERROR): DB処理でエラーが発生しました。SQL: [INSERT INTO dtb_tax_rule(calc_rule,tax_rate,tax_adjust,apply_date,member_id,update_date,tax_rule_id,country_id,pref_id,product_id,product_class_id,create_date) SELECT $1,$2,$3,$4,$5,CURRENT_TIMESTAMP,$6,$7,$8,$9,$10,CURRENT_TIMESTAMP]PlaceHolder: [array (  0 => '1',  1 => '9',  2 => 0,  3 => '2014/01/31 14:00:03',  4 => '2',  5 => 1,  6 => 0,  7 => 0,  8 => 7,  9 => '',)]MDB2 Error: null value violates not-null constraint_doQuery: [Error message: Could not execute statement][Last executed query: EXECUTE mdb2_statement_pgsql_12549e9190c78fccd1ec65604f350214786752cfbb ('1', '9', 0, '2014/01/31 14:00:03', '2', 1, 0, 0, 7, NULL)][Native message: ERROR:  null value in column ""product_class_id"" violates not-null constraint] on [/var/eccube_test/eccube-2.13.1/data/class/SC_Query.php(1087)] from 192.168.9.108
}}}"	バグ指摘	closed	中	EC-CUBE2.13.2	管理画面	2.13.1	修正済			1
