Both replicated and not replicated icon shown #19073
Labels
affects/5.2
This issue or pull-request affects 5.2.x releases (and maybe further versions)
affects/6.0
This issue or pull-request affects 6.0.x releases (and maybe further versions)
Bug
A problem or regression with an existing feature
confirmed/5.2
This issue is confirmed to be reproduced on 5.2 at the time this label was set
confirmed/6.0
This issue is confirmed to be reproduced on 6.0 at the time this label was set
Describe the bug
When connecting to a replica mysql server which has tables that are no longer replicated, two icons are shown.
One with tooltip
Not replicated
and the other with tooltipReplicated
, which is a bit confusing.phpmyadmin/resources/templates/database/structure/structure_table_row.twig
Lines 15 to 20 in 8e4443b
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I'd say in this case it would make sense to show only the
Not replicated
icon.Additional Info
($nbServReplicaDoDb == 0 && $nbServReplicaIgnoreDb == 0)
is true herephpmyadmin/src/Controllers/Database/StructureController.php
Lines 596 to 608 in 8e4443b
with this
json_encode($replicaInfo)
:Screenshots
Server configuration
The text was updated successfully, but these errors were encountered: