Defect #31972

An empty group_count badge is displayed when grouped with created_on

Added by Mizuki ISHIKAWA over 2 years ago. Updated about 2 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:-
Resolution: Affected version:

Description

Reproduction procedure
  • Use MySQL
  • Time zone data is not loaded
  • Change user language from UTC to something else
  • Group by created_on at issues/index

When the above conditions are met, the group_count badge will be displayed as empty as shown in the screenshot.

It doesn't matter if group_count is nil because MySQL doesn't get group_count if it doesn't load time zone data.
The problem is that an empty badge is displayed at that time.

Badge should also be hidden if group_count is not successfully acquired(like timelog).

This is a problem with trunk.

ScreenShot-2019-08-29-10.49.27.png (82.2 KB) Mizuki ISHIKAWA, 2019-08-29 04:08

fix-31972.patch Magnifier (973 Bytes) Mizuki ISHIKAWA, 2019-09-11 02:48

History

#1 Updated by Mizuki ISHIKAWA about 2 years ago

I forgot to attach the patch.
Change the same as timelog .

Also available in: Atom PDF