-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
t.response undefined error when purchasing orb of rebirth #13973
Comments
Hey, this is similar to an issue I worked on with Keys to the Kennels. May I work on this one as well? |
Absolutely! Assigning you. |
Hey @vanathi-g, are you making any progress on this? |
Hey! Sorry, was busy with some other stuff. I was actually having trouble reproducing the issue when I checked last. |
Weird! Are you still having problems replicating the issue? |
im also having trouble replicating the issue now, and i had gotten it before. now though, the orb just won't work on my first use. i see it available for 0 gems, i get the modal, i click buy, the page refreshes, but im still a level 112 rogue. i scrolled down to try again, and the 2nd time it worked. thats the same pattern i noticed with the error, just.. now, no error. |
Hi @vanathi-g -- are you making any progress on this? A few folks have been having problems with getting the orb to work per @saraolson's comment: they attempt to buy it for 0 gems, it doesn't work, and then they can buy it and it works--and charges them gems. |
|
Hello, I was trying to look into the issue but I'm not able to reproduce the error. I made a test account, edited it to lv 100 in mongo and then bought the orb. It worked and put me back to level 1. Also where exactly is this "t.response undefined" error supposed to show up? |
@Mighil31 the t.response undefined error shows up in the corner in a red message bubble. |
@saraolson so here's what I'm doing
@rilygreat also mentioned these
Could these be the issue? I couldn't find any place to set them. |
i just tested now and im still getting the previous behavior i commented where the first orb purchase doesn't actually work, even though an error isn't showing anymore. this time it at least didn't seem to charge me gems on my 2nd try. using firefox on an old account. went to settings > fix char values to set level to 100 for the free orb > market > buy orb there. it acts like it worked until reload, it doesn't show me a confirmation modal. but im still a level 100 mage and the 0 gem orb is still available (we have a time limit on free orb so if it worked, the orb would be 6 gems if bought again in 45 days). looking at our server analytics, only one orb of rebirth is being recorded as actually happening when i did this. here's a vid: orb_rebirth_not_working.mov |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Another user having the problem:
|
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I attempted to examine this issue. While I couldn't replicate the 't.response undefined' error, I discovered that when clicking the 'buy' button, a POST request to /user/rebirth and a page reload occur simultaneously. When the page reloads, any ongoing requests get aborted. Therefore, if the rebirth request isn't sent quickly enough, it gets aborted. |
Hello, I'm currently experiencing the issue. Is there a solution yet? |
@igromanru I still experience this issue in Firefox. As a workaround I just use Chrome to rebirth. 😅 Based on what @gwisp2 said above, the culprit is probably this code block, which explicitly reloads the page immediately in response to an orb of rebirth being purchased. It was introduced intentionally in #11125, in an effort to address #11114, but it seems we now have to deal with this bug instead. @HydeHunter2 @Alys Is there a way to have our cake and eat it too, maybe by adding a delay to the reload, or doing it asynchronously after the orb of rebirth POST operation has completed successfully? Or is @gwisp2's theory here incorrect? |
It worked for me on the Android Firefox app. |
@CuriousMagpie can I work on this |
@anishlukk123 I'm going to take this one. |
I've determined that the |
The text was updated successfully, but these errors were encountered: