[Phpmyadmin-devel] Database grouping: bug ?

Hi, I'm doing some tests on DB grouping, and I met a case where group is not done… If you create a DB "test", another one "test_test" and third one "test_again" (with DB separator = "_"), you'll have a group "test" with children "test", "test_test" and "test_again". But if you just create "test" and "test_test", you won't have a group and both DB will be at top level. I expected to have a first level item "test" and children "test" and "test_test". Please, is this the expected behavior? Thanks, Hugues.

Hi, We think, that should be right, that way. ************* Ann + J.M. ********************************************** Von: Hugues Peccatte [mailto:hugues.peccatte@gmail.com] Gesendet: Sonntag, 20. April 2014 15:42 An: phpMyAdmin - devel Betreff: [Phpmyadmin-devel] Database grouping: bug ? Hi, I'm doing some tests on DB grouping, and I met a case where group is not done… If you create a DB "test", another one "test_test" and third one "test_again" (with DB separator = "_"), you'll have a group "test" with children "test", "test_test" and "test_again". But if you just create "test" and "test_test", you won't have a group and both DB will be at top level. I expected to have a first level item "test" and children "test" and "test_test". Please, is this the expected behavior? Thanks, Hugues. --- Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv. http://www.avast.com

2014-04-20 15:46 GMT+02:00 Ann + J.M. <phpMyAdmin@zweisteinsoft.de>:
*Hi,We think, that should be right, that way.*
************** Ann + J.M.***********************************************
*Von:* Hugues Peccatte [mailto:hugues.peccatte@gmail.com] *Gesendet:* Sonntag, 20. April 2014 15:42 *An:* phpMyAdmin - devel *Betreff:* [Phpmyadmin-devel] Database grouping: bug ?
Hi,
I'm doing some tests on DB grouping, and I met a case where group is not done…
If you create a DB "test", another one "test_test" and third one "test_again" (with DB separator = "_"), you'll have a group "test" with children "test", "test_test" and "test_again".
But if you just create "test" and "test_test", you won't have a group and both DB will be at top level. I expected to have a first level item "test" and children "test" and "test_test".
Please, is this the expected behavior?
Thanks,
Hugues.
I sent a PR for this "bug": https://github.com/phpmyadmin/phpmyadmin/pull/1149 In fact, I would prefer that is a bug and that we can solve it, so I can fix this other bug https://sourceforge.net/p/phpmyadmin/bugs/4070/ easily. Hugues.

i don't feel this is the expected behaviour. this is some kind of bug. -- Thanks & Regards Aayush 2nd Year Undergraduate Student Department of Mining Engineering Indian School of Mines, Dhanbad Mobile No: (+91)9162648465

Le 2014-04-20 09:42, Hugues Peccatte a écrit :
Hi,
I'm doing some tests on DB grouping, and I met a case where group is not done… If you create a DB "test", another one "test_test" and third one "test_again" (with DB separator = "_"), you'll have a group "test" with children "test", "test_test" and "test_again". But if you just create "test" and "test_test", you won't have a group and both DB will be at top level. I expected to have a first level item "test" and children "test" and "test_test".
Please, is this the expected behavior?
I consider this a bug, because I found nothing in our doc that says that you need at least three databases to form a group. So two should be enough to form a group. -- Marc Delisle

2014-04-21 13:54 GMT+02:00 Marc Delisle <marc@infomarc.info>:
Le 2014-04-20 09:42, Hugues Peccatte a écrit :
Hi,
I'm doing some tests on DB grouping, and I met a case where group is not done… If you create a DB "test", another one "test_test" and third one "test_again" (with DB separator = "_"), you'll have a group "test" with children "test", "test_test" and "test_again". But if you just create "test" and "test_test", you won't have a group and both DB will be at top level. I expected to have a first level item "test" and children "test" and "test_test".
Please, is this the expected behavior?
I consider this a bug, because I found nothing in our doc that says that you need at least three databases to form a group. So two should be enough to form a group.
Ok, thanks. So 3 people think this is a bug, so let's fix it. Ticket is already here: https://sourceforge.net/p/phpmyadmin/bugs/4375/ And so the PR: https://github.com/Tithugues/phpmyadmin/tree/b4375 Hugues.

2014-04-21 14:27 GMT+02:00 Hugues Peccatte <hugues.peccatte@gmail.com>:
2014-04-21 13:54 GMT+02:00 Marc Delisle <marc@infomarc.info>:
Le 2014-04-20 09:42, Hugues Peccatte a écrit :
Hi,
I'm doing some tests on DB grouping, and I met a case where group is not done… If you create a DB "test", another one "test_test" and third one "test_again" (with DB separator = "_"), you'll have a group "test" with children "test", "test_test" and "test_again". But if you just create "test" and "test_test", you won't have a group and both DB will be at top level. I expected to have a first level item "test" and children "test" and "test_test".
Please, is this the expected behavior?
I consider this a bug, because I found nothing in our doc that says that you need at least three databases to form a group. So two should be enough to form a group.
Ok, thanks. So 3 people think this is a bug, so let's fix it. Ticket is already here: https://sourceforge.net/p/phpmyadmin/bugs/4375/ And so the PR: https://github.com/Tithugues/phpmyadmin/tree/b4375
Could someone please just confirm that my branch should be created from master? Thanks, Hugues.

Le 2014-04-21 08:45, Hugues Peccatte a écrit :
2014-04-21 14:27 GMT+02:00 Hugues Peccatte <hugues.peccatte@gmail.com <mailto:hugues.peccatte@gmail.com>>:
2014-04-21 13:54 GMT+02:00 Marc Delisle <marc@infomarc.info <mailto:marc@infomarc.info>>:
Le 2014-04-20 09:42, Hugues Peccatte a écrit : > Hi, > > I'm doing some tests on DB grouping, and I met a case where group is not > done… > If you create a DB "test", another one "test_test" and third one > "test_again" (with DB separator = "_"), you'll have a group "test" with > children "test", "test_test" and "test_again". > But if you just create "test" and "test_test", you won't have a group > and both DB will be at top level. I expected to have a first level item > "test" and children "test" and "test_test". > > Please, is this the expected behavior?
I consider this a bug, because I found nothing in our doc that says that you need at least three databases to form a group. So two should be enough to form a group.
Ok, thanks. So 3 people think this is a bug, so let's fix it. Ticket is already here: https://sourceforge.net/p/phpmyadmin/bugs/4375/ And so the PR: https://github.com/Tithugues/phpmyadmin/tree/b4375
Could someone please just confirm that my branch should be created from master? Thanks, Hugues.
If it's easier to fix in master, do it in master; otherwise, use QA_4_1. -- Marc Delisle
participants (4)
-
Aayush Anand
-
Ann + J.M.
-
Hugues Peccatte
-
Marc Delisle