bleroy / Nwazet.Commerce

Idiomatic commerce module for Orchard CMS.
BSD 3-Clause "New" or "Revised" License
26 stars 21 forks source link

Empty ShoppingCartWidget in infinite loop flooding AjaxUpdate #46

Closed bleroy closed 8 years ago

bleroy commented 10 years ago

Originally reported by: Xeevis (Bitbucket: Xeevis, GitHub: Xeevis)


When I first added this widget on a projection page, I got huge flood of AjaxUpdate (like 20 requests per second and it continued over 500 requests when Firebug stopped tracking it). I tried to move it to disabled layer to verify it's indeed this widget causing it and flooding stopped. Then moved it to different visible layer and flooding started again on that layer. So I added product into a cart to verify if it does only for empty cart and it stopped for good and I can no longer reproduce the issue.

I'm sorry that I can't give more info, but maybe someone else encountered this or at least has an idea what caused it.


bleroy commented 10 years ago

Original comment by Bertrand Le Roy (Bitbucket: bleroy, GitHub: bleroy):


Closing for lack of answer to reproducibility questions.

bleroy commented 10 years ago

Original comment by Bertrand Le Roy (Bitbucket: bleroy, GitHub: bleroy):


So are you still able to reproduce at all now? Did you try opening the site in a new private window? Do you have any template overrides in your theme?

I've tried all that myself, and wasn't able to reproduce.

bleroy commented 10 years ago

Original comment by Xeevis (Bitbucket: Xeevis, GitHub: Xeevis):


Latest Firefox & Firebug addon. Haven't tried with other browsers. It won't repro, tried many things on same install as well as couple new. Modules version was 1f72d5c987c5.

bleroy commented 10 years ago

Original comment by Bertrand Le Roy (Bitbucket: bleroy, GitHub: bleroy):


I'm unable to reproduce that. What browser were you using? Did you try with other browsers? Does it still repro after you've filled, then emptied the cart? What version of the module are you using?