Project

General

Profile

Actions

Defect #32500

closed

Spent time report csv shows translation missing text if custom fields are involved

Added by Guillermo ML over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Time tracking
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

To reproduce the error:
  1. Create a spent time's custom field (list format) with two values. In this example it was named Perfil, with values Perfil1 and Perfil2
  2. Log some time, with different Perfil values.
  3. Go to Spent Time > Report
  4. Group by custom field Perfil

The report on the page looks fine, but if you export it using the CSV link it shows a translation missing: en.Perfil message at first column, first row:

If you choose another language the message will change accordingly: translation missing: es.Perfil, translation missing: gl.Perfil, etc...

My environment:

Environment:
  Redmine version                4.0.5.stable
  Ruby version                   2.5.7-p206 (2019-10-01) [x86_64-linux]
  Rails version                  5.2.3
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
SCM:
  Subversion                     1.12.2
  Cvs                            1.12.13
  Git                            2.19.1
  Filesystem                     
Redmine plugins:
  no plugin installed


Files

error.translation-missing.timelog.csv.png (37.8 KB) error.translation-missing.timelog.csv.png Guillermo ML, 2019-11-21 17:43
fix-32500.patch (1.53 KB) fix-32500.patch Yuichi HARADA, 2019-12-05 08:01
Actions

Also available in: Atom PDF