-
Notifications
You must be signed in to change notification settings - Fork 643
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
ページネータの修正 #1922
ページネータの修正 #1922
Conversation
68bc7e9
to
83503d9
Compare
こちら実装完了してます。
|
|
こちらテスト修正しました。
ありがとうございます。 今回
ようにしてみたのですが、修正が不十分なようです。 ※たぶん http://stackoverflow.com/questions/27617522/doctrine-2-paginator-with-exotic-join-throws-error に書いてあるように、関連するSqlWalkerを一通りバックポートしないといけないような気がします。 ちょっと実装見直してみます。 |
b07d422
to
52126f6
Compare
- second level cacheのチェックをコメントアウト - php5.4コードの修正
52126f6
to
944a561
Compare
|
MySQL 5.7.16でエラーになってました。 https://travis-ci.org/kiy0taka/eccube-codeception/builds/176631565
MySQL 5.6からsql_modeのデフォルト値が変わったのが原因のようです。 https://dev.mysql.com/doc/refman/5.6/ja/show-variables.html Codeceptionで回しているMySQL5.1.73と5.7.16の値は以下のとおりです。
MySQL 5.7.16でも |
doctrineにもissueとpull requestが上がっているので確認してみます。 |
https://travis-ci.org/kiy0taka/eccube-codeception/builds/179328258 |
#1916
doctrine2.5のCountOutputWalker をバックポートwrap-queries: true時は、上記のCountOutputWalkerを使うように修正プラグインから拡張されることを想定し, ページネータを利用する箇所はwrap-queries: trueに変更doctrine2.5.5のpaginatorをバックポート
オリジナルからの変更箇所は以下のコミット
79409b7
上記を動作させるため, KnpPagerのUsesPaginatorを移植
fce6bbc
#1916 および #1618 の問題が解消されます。