ClientDependency icon indicating copy to clipboard operation
ClientDependency copied to clipboard

Client DependencyHandler issue on umbraco 8

Open torerik opened this issue 5 years ago • 4 comments
trafficstars

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.

torerik avatar Dec 18 '19 12:12 torerik

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?

Shazwazza avatar Dec 19 '19 07:12 Shazwazza

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

torerik avatar Dec 19 '19 08:12 torerik

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.

Shazwazza avatar Dec 19 '19 09:12 Shazwazza

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

torerik avatar Dec 19 '19 10:12 torerik