Open mezotv opened 2 weeks ago
Hi @mezotv , I tried to recreate this issue but it does not seem to crash in my case. Are you certain these were the only steps you did that led to the docker container crash?
How do you perform step 4? When submitting the coupon, you will get the discount value as a response, so that the UI can show the value. At no point is the discount value is directly submitted by the client to the server. It only submits the code, which is then processed on the server.
@mezotv If you meant that you created a coupon with the equivalent of 100% discount, could you post that here please so I can try it?
How do you perform step 4? When submitting the coupon, you will get the discount value as a response, so that the UI can show the value. At no point is the discount value is directly submitted by the client to the server. It only submits the code, which is then processed on the server.
@mezotv If you meant that you created a coupon with the equivalent of 100% discount, could you post that here please so I can try it?
There was a value in the session/local storage that represented the percentage of the coupon for me changing that to 100 and trying to purchase with that coupon crashed the container.
Please send your example, otherwise I'm not even sure if you used a regular coupon or a campaign code. Thanks.
Please send your example, otherwise I'm not even sure if you used a regular coupon or a campaign code. Thanks.
Ill try to do that tlday after work!
Pretty sure it was this code I applied pEw8pg+yBo
added that then edited the local storage and pressed the purchase button. Thats when the container crashed
Would you be able to reproduce this and could post the error log from the server so I see the exception stack trace?
Would you be able to reproduce this and could post the error log from the server so I see the exception stack trace?
I probably wont have time to do that in the next few days but somewhere later next week I should be able to!
:bug: Bug report
Description
When trying to generate a coupon code I modified the session storage to attempt that issue. When doing so and trying to purchase the item my docker container crashed.
Is this a regression?
No
:microscope: Minimal Reproduction
:fire: Exception or Error
:deciduous_tree: Your Environment