Project

General

Profile

Actions

Patch #30999

open

Datepicker javascript files locale in uppercase not found

Added by Jérôme BATAILLE over 5 years ago. Updated about 5 years ago.

Status:
Needs feedback
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

  • In public / javascripts / i18n
    Files like datepicker-en-GB.js are not found because file is searched with locale that is lowercase.
    These files should be in lower case.
The error :
Started GET "/javascripts/i18n/datepicker-en-gb.js" for 127.0.0.1 at 2019-03-08 17:43:44 +0100
17.43.44.110 09924:   
17.43.44.110 09924: ActionController::RoutingError (No route matches [GET] "/javascripts/i18n/datepicker-en-gb.js"):
17.43.44.110 09924:   
17.43.44.110 09924: actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
17.43.44.110 09924:actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `c

Files

datepicker-en-GB.png (348 KB) datepicker-en-GB.png Marius BĂLTEANU, 2019-05-05 14:06
Actions #1

Updated by Marius BĂLTEANU over 5 years ago

I cannot reproduce on the current trunk or latest Redmine version (4.0.3), please see:

Maybe it is something generated by your plugins, please see an older issue on the same topic (#13412).

Actions #2

Updated by Jérôme BATAILLE about 5 years ago

Hi,

This issue happens in one of my plugins : https://github.com/Smile-SA/redmine_datetime_custom_field/issues/1
To be clear, all the localized versions of this file are lowercase, except for en-GB.
This is the reason it fails just for this language.
If think that anyway, for uniformity sake this file should be lowercase like the others.

Actions

Also available in: Atom PDF