Project

General

Profile

Actions

Defect #31972

open

An empty group_count badge is displayed when grouped with created_on

Added by Mizuki ISHIKAWA over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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.


Files

ScreenShot-2019-08-29-10.49.27.png (82.2 KB) ScreenShot-2019-08-29-10.49.27.png Mizuki ISHIKAWA, 2019-08-29 04:08
fix-31972.patch (973 Bytes) fix-31972.patch Mizuki ISHIKAWA, 2019-09-11 02:48
Actions #1

Updated by Mizuki ISHIKAWA over 5 years ago

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

Actions

Also available in: Atom PDF