Project

General

Profile

Actions

Defect #13412

closed

Routing error for GET "/javascripts/i18n/jquery.ui.datepicker-en-gb.js"

Added by Harry Garrood over 11 years ago. Updated over 11 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Steps to reproduce
Use en-gb locale
Create an issue
GET /issues/{id}

Log contains:

Started GET "/javascripts/i18n/jquery.ui.datepicker-en-gb.js" for 127.0.0.1 at 2013-03-09 16:51:25 +0000

ActionController::RoutingError (No route matches [GET] "/javascripts/i18n/jquery.ui.datepicker-en-gb.js"):
  actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  ...

However there is a jquery.ui.datepicker-en-GB.js. So it appears that this asset routes are case-sensitive.

I'm not sure what the best way to go about fixing this is. Renaming the file to all downcase did fix it. Alternatively https://github.com/carstengehling/route_downcaser might be a solution.

Actions

Also available in: Atom PDF