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
Add backward compatibility for DefaultTabServer, DefaultTabDatabase, DefaultTabTable, NavigationTreeDefaultTabTable and NavigationTreeDefaultTabTable2 #16714
Conversation
I'm not sure if this PR fixes all cases, such as |
Codecov Report
@@ Coverage Diff @@
## QA_5_1 #16714 +/- ##
============================================
- Coverage 53.11% 53.10% -0.02%
- Complexity 15202 15216 +14
============================================
Files 471 471
Lines 63207 63224 +17
============================================
+ Hits 33573 33575 +2
- Misses 29634 29649 +15
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Only 5.1.0 for now, and 5.2.0-dev I will rebase+squash your fix if @MauricioFauth also thinks this is a good fix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to add a default
case to the switch
instead of supporting these old values.
What do you mean with a default value? Wouldn't that mean that the old values won't work any more? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have always considered backwards compatibility important for our configuration settings, I'm glad you caught this.
LGTM
I agree it is important. Will add more tests before merging this |
…r, DefaultTabDatabase, DefaultTabTable, NavigationTreeDefaultTabTable and NavigationTreeDefaultTabTable2 Fixes: phpmyadmin#16713 Signed-off-by: Sven Strickroth <email@cs-ware.de>
…d of "./") Fixes: phpmyadmin#16698 Signed-off-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: William Desportes <williamdes@wdes.fr>
I could not find anything named like that in the code and in the docs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work, It works fine !
I added tests, this PR fixes 3 bugs in total
Signed-off-by: William Desportes <williamdes@wdes.fr>
Any plans when a new version is released? |
The next release is slightly behind schedule already because of wanting to
incorporate a fix for one remaining issue. William has prepared some
solution for that, so if all goes well with it I expect a release in the
coming days.
Thanks for asking.
|
Yes, it is #16734 (comment) |
Description
if a user has a legacy setting for DefaultTabServer, DefaultTabDatabase, DefaultTabTable, NavigationTreeDefaultTabTable and NavigationTreeDefaultTabTable2 don't provide a broken fallback, but mimic the old behavior.
Fixes #16698
Fixes #16713
This affects 5.1.0 and maybe other versions.
Before submitting pull request, please review the following checklist:
Signed-off-by
line as described in our DCO. This ensures that the work you're submitting is your own creation.