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

Opened 9 years ago

Last modified 8 years ago

リリースbranch version-2_13_2からのマージ

Reported by: h_yoshimoto Owned by: h_yoshimoto
Priority: Milestone: EC-CUBE2.13.3
Component: その他 Version: 2.13.1
Keywords: Cc:
修正済み: yes


リリースbranch version-2_13_2からのマージ

Change History

comment:1 Changed 9 years ago by h_yoshimoto

  • Status changed from new to assigned
  • 修正済み set

r23541 にて対応しました。

comment:2 Changed 9 years ago by h_yoshimoto

r23542 にて対応しました。

comment:3 Changed 9 years ago by shutta

r23542 の影響で、

[/eccube/version-2_13-dev/html/products/list.php] Fatal erro
r(E_USER_ERROR): DB処理でエラーが発生しました。
SQL: [SELECT alldtl.product_id FROM dtb_products AS alldtl WHERE alldtl.del_flg 
= 0 AND alldtl.status = 1  AND EXISTS (SELECT * FROM dtb_product_categories WHER
E category_id IN (?,?,?,?) AND product_id = alldtl.product_id) GROUP BY T3.rank,
 T2.rank ORDER BY (SELECT MAX(T3.rank * 2147483648 + T2.rank) FROM (SELECT * FRO
M dtb_product_categories WHERE category_id IN (?,?,?,?)) T2 JOIN dtb_category T3
 ON T2.category_id = T3.category_id WHERE T2.product_id = alldtl.product_id  ORD
ER BY T3.rank DESC, T2.rank DESC  LIMIT 1 OFFSET 0) DESC ,product_id DESC ]
MDB2 Error: unknown error
prepare: [Error message: Unable to create prepared statement handle]
[Last executed query: DEALLOCATE PREPARE mdb2_statement_pgsql_143aaf08b306614177

[Native message: ERROR:  column "t3.rank" must appear in the GROUP BY clause or 
be used in an aggregate function
行 1: ...WHERE T2.product_id = alldtl.product_id  ORDER BY T3.rank DE...


r23407 と干渉していたのが原因でした。
また、r23542 の修正対象である #2547 にも影響が無いことも確認しています。

comment:4 Changed 8 years ago by kim

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

shutta 様



Note: See TracTickets for help on using tickets.