GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
633 stars 100 forks source link

Inventory constantly logging errors for missing jQuery library #4262

Closed btylerburton closed 1 year ago

btylerburton commented 1 year ago

90 % of Inventory New Relic logs describe a missing jQuery library which is not referenced in the Inventory code base.

How to reproduce

  1. Examine New Relic logs for Inventory Prod
  2. You will see a majority of them reference this error: 2.1 Trying to include unknown asset: <base/vendor/jquery.js>

Expected behavior

Actual behavior

Sketch

btylerburton commented 1 year ago

Also seeing Trying to include unknown asset: <dcat_usmetadata/custom.css>

robert-bryson commented 1 year ago

Note that with this work blocking routes, any new route will need to be added to inventory's proxy/nginx.conf.

btylerburton commented 1 year ago

This line looks promising

https://github.com/GSA/ckanext-usmetadata/blob/main/ckanext/usmetadata/templates/base.html#L11

nickumia-reisys commented 1 year ago

Finally done 😌

Notes: