Non-existing groups not showing any error July 02, 2015, 12:18:09 am If you manually point the browser to let's say: http://www.elkarte.net/community/index.php?action=groups;sa=members;group=123456789 it doesn't throw an error telling you that it doesn't exist (I don't really think you got THAT many groups ), it just shows an empty group page, saying that the group is empty, when in fact it doesn't exist at all.I consider this a bug because the proper response should be this: http://www.elkarte.net/community/index.php?action=groups;sa=members;group=10 which is very much likely a deleted membergroup, so I can think it works with deleted membergroups but not with yet-to-be-created ones...?P.S.: LOLLED hard when I saw this --> http://www.elkarte.net/community/index.php?action=groups;sa=members;group=9 P.P.S.: I know I am a cursed glitcher, that's why I am here for
Re: Non-existing groups not showing any error Reply #1 – July 02, 2015, 12:22:20 am Burke Knight wonders why someone would enter a group number that long, into their browser URL field, in the first place.
Re: Non-existing groups not showing any error Reply #2 – July 02, 2015, 12:24:25 am 'CozQuote from: Flavio93Zena – July 02, 2015, 12:18:09 amI am a cursed glitcher, that's why I am here for Besides I wanted to be ironic I was trying to figure out which membergroups are present and found out about this thing
Re: Non-existing groups not showing any error Reply #3 – July 03, 2015, 02:31:28 am @emanuele @Spuds pls no miss me
Re: Non-existing groups not showing any error Reply #4 – July 03, 2015, 07:19:54 am Seems like it should show the non existent group screen for invalid numbers.Also not sure it should show those screens at all unless you have permissions, probably keyed of member view permission, but not sure it should show unless you have some form of group alter permissions :/
Re: Non-existing groups not showing any error Reply #5 – July 03, 2015, 12:16:25 pm IMHO the smf default behavior is the most appropriate one, it throws error when the group doesn't exist/has been deleted and shows empty group when the group is really empty.Not sure how you refactored the code to handle that action but something went in an unexpected way for sure As for the "what"... No idea.
Re: Non-existing groups not showing any error Reply #6 – July 05, 2015, 04:33:41 pm Tracked: https://github.com/elkarte/Elkarte/issues/2115And fixed (see github).