Project

General

Profile

Actions

Bug #15177

closed

Internal Server Error: https://workbench.xxx/themes/curoverse/images/etc/passwd

Added by Tom Morris almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Story points:
-

Description

Anything rooted at /curoverse/images/... which doesn't resolve generates a 500 instead of a 404.


Related issues

Related to Arvados - Bug #15176: Update AngularJS to a supported version NewActions
Actions #1

Updated by Lucas Di Pentima almost 5 years ago

Ran a local instance of workbench and confirmed that seems to be an issue with the themes_for_rails gem:

{"method":"GET","path":"/themes/curoverse/images/etc/passwd","format":"html","controller":"ThemesForRails::AssetsController","action":"images","status":500,"error":"SystemStackError: stack level too deep","duration":631.13,"view":0.0,"db":0.0,"request_id":null,"params":{"theme":"curoverse","asset":"etc/passwd"},"@timestamp":"2019-05-01T16:23:44.827Z","@version":"1","message":"[500] GET /themes/curoverse/images/etc/passwd (ThemesForRails::AssetsController#images)"}

SystemStackError (stack level too deep):
  vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails.rb:8:in `config'
  vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails/interpolation.rb:6:in `interpolate'
  vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails/common_methods.rb:63:in `theme_asset_path_for'
  vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails/assets_controller.rb:43:in `asset_path'
  vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails/assets_controller.rb:31:in `find_themed_asset'
  vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails/assets_controller.rb:36:in `find_themed_asset'
  vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails/assets_controller.rb:36:in `find_themed_asset'
  vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails/assets_controller.rb:36:in `find_themed_asset'
...

We're using a fork of the gem as the project was abandoned some years ago.

Actions #2

Updated by Lucas Di Pentima almost 5 years ago

  • Related to Bug #15176: Update AngularJS to a supported version added
Actions #3

Updated by Lucas Di Pentima almost 5 years ago

This may be needed to be done at the same time as #15176

Actions #4

Updated by Peter Amstutz over 4 years ago

  • Target version deleted (To Be Groomed)
  • Status changed from New to Closed
Actions

Also available in: Atom PDF