-
Notifications
You must be signed in to change notification settings - Fork 661
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
PHP8とMySQLでプラグインアップデートコマンドを実行すると no active transaction になるのを修正 #5443
PHP8とMySQLでプラグインアップデートコマンドを実行すると no active transaction になるのを修正 #5443
Conversation
Codecov Report
@@ Coverage Diff @@
## 4.2 #5443 +/- ##
============================================
- Coverage 77.49% 77.48% -0.01%
- Complexity 6234 6250 +16
============================================
Files 466 468 +2
Lines 20962 21007 +45
============================================
+ Hits 16244 16277 +33
- Misses 4718 4730 +12
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@kurozumi |
@kurozumi TransactionListenerではisTransactionActiveでトランザクション中の判定をしてますが、これがうまくできないようで、PluginServiceの実装にあわせるとテストも通るようです。 |
修正箇所はPluginServiceのpostInstallの実装に合わせました。 |
TransactionListener::onKernelTerminateでも同じエラーが発生しており、テストが落ちているので、TransactionListenerも合わせて修正いただければと。 |
@kurozumi |
概要(Overview・Refs Issue)
PHP8とMySQLでプラグインアップデートコマンドを実行すると no active transaction になるのを修正しました。
方針(Policy)
実装に関する補足(Appendix)
テスト(Test)
プラグインテストのワークフローにPHP8.0と8.1を追加しました。
相談(Discussion)
マイナーバージョン互換性保持のための制限事項チェックリスト
レビュワー確認項目