-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
セッションデータに保存される配送商品のコンテンツデータは必要? #1007
Comments
一応、不要なデータは切り落すようになっていたと思いますが、正常に動作していませんかね、、? ec-cube2/data/class/SC_CartSession.php Lines 342 to 372 in 74eaa0a
2.13 までは MySQL は text 型のカラムにセッション情報を格納していたので、しばしば溢れるケースがありました |
DBによる違いはありますでしょうか? ショッピングプロセスで配送先が確定された時の更新で追加される感じでした。 セッションの中身をJSONにしたものを貼っておきます。 |
ざっとコードを追うと下記部分が怪しい感じですかね(未検証) ec-cube2/data/class/helper/SC_Helper_Purchase.php Lines 371 to 398 in 74eaa0a
ここで代入していそう $product = &$objProduct->getDetailAndProductsClass($product_class_id);
$arrItems['productsClass'] = $product; |
@clicktx ありがとうございます。こちらでも確認してみますね |
dtb_session.sess_dataに保存されるデータにshipping itemsに関する無駄な情報が多い気がします。
main_commentやsub_title1〜、sub_comment1〜等、dtb_productsにあるデータが(恐らく)すべて含まれるため、商品の説明コンテンツが長いほどデータ量が多くなります。
何かに使われる気はしないのですが、必要なデータなのでしょうか?
かなり昔にMySQLでセッションデータがオーバーフローする現象がある、というような書き込みを見かけた気がしますが、、、
The text was updated successfully, but these errors were encountered: