Shazwazza / ClientDependency

DEPRECATED. A library for managing CSS & JavaScript dependencies and optimization in ASP.Net
139 stars 65 forks source link

Client DependencyHandler issue on umbraco 8 #173

Open torerik opened 4 years ago

torerik commented 4 years ago

I have an issue with client dependency handler that I am stuck with.

Uncaught ReferenceError: response is not defined.

I'm using Razor Store in uCommerce. There are a couple of these error blocks in my console. What is wrong?

/ucommerceapi/razorstore/products/getproductinformation:1 Failed to load resource: the server responded with a status of 404 (Not Found) DependencyHandler.axd?s=xxxx Uncaught ReferenceError: response is not defined at Object.

The URL to my store is: /store. It is not the root folder.

Shazwazza commented 4 years ago

I've not seen this error ever in this history of Client Dependency which is a very long time so I'm cautious to consider that this is a bug with CDF.

I can only suggest that you find a way to replicate this issue with the most basic steps from an empty site and if you can then I can at least go from there. I am not familiar with uCommerce but if the rest of Umbraco is working then I would consider this an issue with uCommerce's implementation of CDF?

torerik commented 4 years ago

Ok, i think its the post method in getProductInformation function. Cant find the post path....

Shazwazza commented 4 years ago

Or if you turn debug='true' in your web.config which disables CDF, maybe it's just a JS error but its being reported from the bundler handler DependencyHandler.

torerik commented 4 years ago

I've tried debug=true - but maybe i can try and see what the console say once more :)