#12779: "Player game history "from date" field glitch on /gamestats renders application unusable."
В какво се състои този доклад?
Какво се случи? Моля изберете от списъка по-долу
Какво се случи? Моля изберете от списъка по-долу
Моля, проверете дали вече има доклад по същия въпрос
Ако отговорът е „да“, моля, гласувайте за този доклад. Отчетите с най-много гласове са дадени ПРИОРИТЕТ!
| # | Status | Votes | Game | Type | Title | Last update |
|---|
Подробно описание
-
• Моля поставете тук съобщението за грешка което виждате, ако има такова
None
-
• Моля обяснете, какво искахте да направите, какво направихте и какво се случи
Wanted to do: see game history between two dates.
Did do: selected today's date on /gamestats page.
What happened: page flickers in a constant refresh. Only way to cease action is to navigate away from stats page.
• Какъв е вашия браузър?
Google Chrome v75
-
• Моля копирайте/поставете текстът показан на аглийски, вместо на Вашия език. Ако имате скрийншот с този бъг (това е добър навик), можете да го качите на избран от вас хостинг за изображения (например snipboard.io) и да копирате линка от там тук. Наличен ли е този текст в системата за превод? Ако да, бил ли е преведен за повече от 24 часа?
None
• Какъв е вашия браузър?
Google Chrome v75
-
• Моля обяснете вашето придложение ясно и кратко така че да бъде възможно най-разбираемо.
None
• Какъв е вашия браузър?
Google Chrome v75
-
• Какво е било показано на екрана, когато сте били блокирани (празен екран? Част от интерфейса на играта? Съобщение за грешка?)
None
• Какъв е вашия браузър?
Google Chrome v75
-
• Коя част от правилата не е била спазена от BGA адаптацията
None
-
• Нарушенията на правилата видими ли са при повторение на играта? Ако да, на кой ход се случват?
Wanted to do: see game history between two dates.
Did do: selected today's date on /gamestats page.
What happened: page flickers in a constant refresh. Only way to cease action is to navigate away from stats page.
• Какъв е вашия браузър?
Google Chrome v75
-
• Какъв бе игровият ход, който се опитахте да извършите?
None
-
• Какво се опитвате да направите, за да задействате тази игра?
Wanted to do: see game history between two dates.
Did do: selected today's date on /gamestats page.
What happened: page flickers in a constant refresh. Only way to cease action is to navigate away from stats page.
-
• Какво се случи, когато се опитахте да направите това (съобщение за грешка, съобщение за статуса на играта, ...)?
• Какъв е вашия браузър?
Google Chrome v75
-
• В кой момент от играта се появи проблема (каква е била съответната инструкция в играта)?
None
-
• Какво се случи, когато се опитахте да извършите действието в играта (съобщение за грешка, съобщение за статуса на играта, ...)?
Wanted to do: see game history between two dates.
Did do: selected today's date on /gamestats page.
What happened: page flickers in a constant refresh. Only way to cease action is to navigate away from stats page.
• Какъв е вашия браузър?
Google Chrome v75
-
• Моля опишете грешката при изобразяването Ако имате скрийншот с този бъг (това е добър навик), можете да го качите на избран от вас хостинг за изображения (например snipboard.io) и да копирате линка от там тук.
None
• Какъв е вашия браузър?
Google Chrome v75
-
• Моля копирайте/поставете текстът показан на аглийски, вместо на Вашия език. Ако имате скрийншот с този бъг (това е добър навик), можете да го качите на избран от вас хостинг за изображения (например snipboard.io) и да копирате линка от там тук. Наличен ли е този текст в системата за превод? Ако да, бил ли е преведен за повече от 24 часа?
None
• Какъв е вашия браузър?
Google Chrome v75
-
• Моля обяснете вашето придложение ясно и кратко така че да бъде възможно най-разбираемо.
None
• Какъв е вашия браузър?
Google Chrome v75
История на докладванията
Things I've tried:
- Different devices
- different start dates
- inputting and end date first
- typing in the date(s)
everything resulted in the same effect. I have not been able to confirm that other parties have experienced this problem.
(thanks!)
The bug status is still "Bug has not been reproduced by developers yet" — Have they attempted a repro? It seems to be just broken, I don't think it will be hard to reproduce.
Impact: Right now there's no other way to view non-recent history more than several entries at a time, other than clicking "More" and scrolling, click and scroll, click and scroll, endlessly.
This would be great to get fixed, especially since we are interested in tracking our game scores for a particular game. Thanks!
boardgamearena.com/bug?id=13057
boardgamearena.com/bug?id=13608
More details.... This is probably at least 2 different bugs:
– Case 1: Entering a valid start date causes endless "Error while processing Database request" red error box overlays.
– Case 2: Entering a valid end date cause endless redirects (flickering). This is worse than endless reloads because it also floods the browser history, forcing the user to close the tab (navigating back doesn't work).
Additionally:
– Entering an invalid date does not cause a problem: the page resets the field and reloads (via a fresh URL).
– Only valid dates cause these issues, and it's the same whether typed or using the date picker.
– The 2 different outcomes suggest Case 1 is creating and executing a SQL/db query but that the query is bad (date format error maybe?) but that some other exception is derailing Case 2 either before or after the query.
– My off-the-wall guess would be before and while actually constructing the query (perhaps assuming start date exists and is valid?).
– boardgamearena.com/gamestats?player=85562224&opponent_id=0&start_date=1586329200&finished=0&refreshtemplate=1&dojo.preventCache=1586895615311
– boardgamearena.com/gamestats/gamestats/getGames.html?player=85562224&opponent_id=0&start_date=1586329200&finished=0&updateStats=1&dojo.preventCache=1586895617663
(The only change between requests is every URL gets a new dogo.preventCache value, presumably to force a fresh DB read.)
Same with end date (but with end_date URL param).
I was curious if the bug was related to not having both start and end date (which a user never is able to achieve because the page becomes unusable after setting either one), so I manually cold loaded a URL with both in it:
– boardgamearena.com/gamestats?player=85562224&opponent_id=0&start_date=1586329200&end_date=1586674800&finished=0
Same result as the Case 1 (start date) – endless DB errors.
Hope that helps!
P.S. BTW, I'd highly recommend some kind of quadratic backoff and/or even a hard abort after some number of consecutive errors... at least for some class of endpoint calls. I realize this is trickier in cases like this where the looping is actually a chain of reloads, but this does seem to be common pattern across your whole site (e.g. voice chat, move transmit retries, etc). This has to dramatically affect site stability however — even 1 unbroken loop slams your site with requests, but any blip in infrastructure multiplies then compounds it! Anyway sorry for the digression...
Mac OS 10.15.7 (19H15)
The issue is still persistent, tried different date ranges from 10 year to 1 year all of them have same issue
* boardgamearena.com/bug?id=13057
* boardgamearena.com/bug?id=13608
* boardgamearena.com/bug?id=28457
Добави нещо към този доклад
- Друга маса ID / Ход ID
- F5 реши ли проблема?
- Проблемът няколко пъти ли се е появил? Или всеки път? Или абсолютно случайно?
- Ако имате скрийншот с този бъг (това е добър навик), можете да го качите на избран от вас хостинг за изображения (например snipboard.io) и да копирате линка от там тук.
