Project

General

Profile

Actions

Patch #26492

closed

% is not valid without a format specifier

Added by Pavel Rosický almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Roadmap
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

roadmap overview raises ArgumentError: incomplete format specifier on ruby 2.5 dev

as suggested on https://bugs.ruby-lang.org/issues/13761 it should be prepended with another '%'

'%0.0f%' % 45 - wrong
'%0.0f%%' % 45 - correct

patch included

Environment:
  Redmine version                3.4.1.stable
  Ruby version                   2.5.0-p-1 (2017-07-21) [x86_64-linux]
  Rails version                  4.2.9
  Environment                    production
  Database adapter               PostgreSQL
SCM:
  Git                            2.13.0
  Filesystem

Files

_overview.html.erb.patch (1.07 KB) _overview.html.erb.patch Pavel Rosický, 2017-07-21 11:40
Actions

Also available in: Atom PDF