Skip to content
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

管理画面トップ 売上状況が9時間ずれる問題修正 #4465

Merged
merged 5 commits into from Aug 21, 2020

Conversation

dk-umebius
Copy link
Contributor

@dk-umebius dk-umebius commented Feb 10, 2020

概要(Overview・Refs Issue)

#4426 管理画面トップ 売上状況が9時間ずれる問題修正

コミュニティより
https://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=23411&forum=11&post_id=96550#forumpost96550

方針(Policy)

SUBSTRING関数を使わない

テスト(Test)

MySQLとPostgreSQLで動作確認

マイナーバージョン互換性保持のための制限事項チェックリスト

  • 既存機能の仕様変更
  • フックポイントの呼び出しタイミングの変更
  • フックポイントのパラメータの削除・データ型の変更
  • twigファイルに渡しているパラメータの削除・データ型の変更
  • Serviceクラスの公開関数の、引数の削除・データ型の変更
  • 入出力ファイル(CSVなど)のフォーマット変更

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか

@ryo-endo
Copy link
Contributor

@okazy 開発コミュニティにもあるように、意思決定につかう数字の集計不具合なので、bug:lowではないかなー。(基準があれなので判断難しいけどMiddleにしました。)

@dk-umebius ありがとうございます。変更行数があるので、確認に少々お時間かかりそうです。

@okazy okazy modified the milestones: 4.0.4, 4.0.x May 22, 2020
@okazy
Copy link
Contributor

okazy commented Aug 20, 2020

修正コード確認して処理の前後で処理の意図が変わらないことを確認しました。
また、テストコードを追加しました。

テストを追加して最新ブランチに追従
Copy link
Contributor

@okazy okazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

動作確認して問題ありませんでした。
SQLを整理したため、twigへ渡しているパラメータ salesThisMonth, salesToday, salesYesterday 内の order_day が渡らなくなっていますが、twig内で利用しておらず、またカスタマイズもされない部分かと思いますので取り込んで問題ないかと思います。

@okazy okazy merged commit 0f909f9 into EC-CUBE:4.0 Aug 21, 2020
@okazy
Copy link
Contributor

okazy commented Aug 21, 2020

ありがとうございます!取り込みました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants