Ticket #1467 (new バグ指摘) — at Initial Version

Opened 14 years ago

Last modified 14 years ago

SC_Query シングルトンの悪影響?

Reported by: Seasoft Owned by: somebody
Priority: Milestone: EC-CUBE2.12.1
Component: その他 Version: 2.12.0
Keywords: Cc:
修正済み: yes

Description

下記流れ(下記コードは抽象的なもの)で、ORDER句 や WHERE句 の DB エラーの発現があった。

$objQuery =& SC_Query_Ex::getSingletonInstance();
$objProduct = new SC_Product_Ex();

$arrProductsClass = $objProduct->getProductsClass($product_class_id);
$objQuery->select();
  • 2.11.2 では未確認。

まずは、備忘録として。

Note: See TracTickets for help on using tickets.