Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
mysql db driver
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2015 at 14:18 UTC
Updated:
21 Sep 2015 at 10:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
stefan.r commentedComment #3
stefan.r commentedComment #5
cilefen commentedComment #6
stefan.r commentedAlmost ;)
It does show the correct server version, it's just that that's we're not interested in that when we do the client check
Comment #7
stefan.r commentedComment #8
cilefen commentedGood - you can tell I was confused.
Comment #9
stefan.r commentedJust a heads up, @ansorg posted in https://www.drupal.org/node/2529188#comment-10269023 that applying this patch fixed his issue.
Comment #10
cilefen commentedIs this a duplicate of #2529188: Provide better error handling for MySQL client and server utf8mb4 incompatibility or does it just improve the error making #2529188: Provide better error handling for MySQL client and server utf8mb4 incompatibility more solvable?
Comment #11
stefan.r commentedThat issue introduced a client version check on top of a server version clint check, but the error message it introduced shows the wrong version number in the client check, so it's not very helpful as it shows the server version instead of the client version.
Comment #12
cilefen commentedSince this is a follow-up, I supposed we need some test coverage for this message, if that is even possible with the testbots.
Comment #13
stefan.r commentedNo not possible sadly. Can't be unit tested either, just manually tested.
@ansorg did some manual testing in https://www.drupal.org/node/2529188#comment-10269023
Comment #14
stefan.r commentedJust bumping this as @eranmatis just posted this in the issue queue, which illustrates how wrong the current message is and the kind of confusion this is causing:
Comment #15
eranmatis commentedThanks Stefan,
I applied the patche, and as expected, I'm getting the following message:
Comment #16
stefan.r commentedGreat, good to hear this is working with the patch applied now!
Comment #17
cilefen commentedI had to
git diff --word-diff=colorto get a good look at this. The problem is that for whatever reason, the client $version that is determined above this chunk of code is not used in the error messages. Instead, the server version is used. This is just a straight-up bug. The patch changes exactly what is needed and no more.Comment #19
stefan.r commentedBack to RTBC assuming this was unrelated
Comment #22
catchCommitted/pushed to 8.0.x, thanks!