Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing asset aspnet-validation.min.js.map throws 404 in browser console #796

Closed
argentini opened this issue Jun 29, 2022 · 1 comment
Closed

Comments

@argentini
Copy link

A brief description of the issue goes here.

The JS file aspnet-validation.min.js is missing its map file in all environments. The path being referenced is:

/App_Plugins/UmbracoForms/Assets/aspnet-client-validation/dist/aspnet-validation.min.js.map

Specifics

Umbraco Forms 10.0.0 through 10.0.2 exhibit this behavior.

Steps to reproduce

Build and launch a website with Umbraco Forms installed, then load the site in the browser and view the console.

Expected result

In development the map file should be present. In production the JS file being used should not include the map file comment reference, so the map file is not requested.

Actual result

Browser console issues a 404 for the requested map file.

@AndyButland
Copy link

Thanks for reporting. It looks like this issue has been around for a while so I've resolved for the next releases of Forms 8, 9 and 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants