225 points
*

At my job, we have an error code that is similar to this. On the frontend, it’s just like error 123.

But in our internal error logs, it’s because the user submitted their credit card, didnt fully confirm, press back, removed all the items out of their cart, removed their credit card, then found their way back to the submit button through the browser history and attempted to submit without a card or a cart. Nothing would submit and no error was shown, but it was UI error.

It’s super convoluted. And we absolutely wanted to shoot the tester who gave us this use case.

permalink
report
reply
138 points
*

Better the tester than a user.

permalink
report
parent
reply
43 points

Whats the difference?

permalink
report
parent
reply
64 points

As of now, I consider you an enemy

permalink
report
parent
reply
37 points

Are you from microsoft?

permalink
report
parent
reply
24 points

Being prepared for the eventuality, knowing the consequences and deciding what to do about it before it happens for a user.

permalink
report
parent
reply
17 points

Different mindset. A user doesn’t want to find bugs but get shit done.

permalink
report
parent
reply
9 points

Brand reputation?

permalink
report
parent
reply
1 point

Users are dumb, testers are assholes.

permalink
report
parent
reply
79 points
*

And we absolutely wanted to shoot the tester who gave us this use case.

Why? Because he tested well and broke the software? A user changing their mind during a guided activity absolutely is a valid use case.

permalink
report
parent
reply
53 points

I think they meant shoot in like a friendly way. You know, happiness bullets!

permalink
report
parent
reply
56 points

Oh, THAT’s what “friendly fire” means!

permalink
report
parent
reply
13 points

Like how I always say to my friends, “Look at me again and I will fucking murder you and rape your family dog”… it’s just in good fun.

permalink
report
parent
reply
8 points

It’s likely a difference of emotion compared to logic. Emotionally they’d think “Damn it, now we need to check for such a weird specific edge-case, this is so annoying” while logically knowing it’s better the tester caught it.

permalink
report
parent
reply
62 points

Give that tester a raise bro

permalink
report
parent
reply
42 points

This makes want to become a tester. It scratches my evil itch just the way I like it.

permalink
report
parent
reply
41 points

there’s three qualifications to being a testor:

Finding stupid ways to break shit, Being able to accurately explain how you broke shit, and being likeable enough that breaking their shit doesn’t make the devs angry.

permalink
report
parent
reply
16 points

Being able to accurately explain how you broke shit

This is the most important part. Or look at systems like SpiffingBrit and Josh (Let’s Game it Out) look at games

permalink
report
parent
reply
29 points

Don’t shoot the tester shoot whoever wrote the code (or the framework / library) that got you into this situation in the first place.

permalink
report
parent
reply
25 points
*

If that broke the software it sounds like you have a very good tester.

permalink
report
parent
reply
19 points

What about the test case where I’m using the browser’s dev tools to re-send http requests in random orders?

permalink
report
parent
reply
144 points

What the user was doing is that they don’t trust that the system truly deleted the account, and they worry it was just deactivated (while claiming it was “deleted”). So they tried to do a password recovery which often reactivates a falsely “deleted” account.

I’ve done this before and had to message the company and have them confirm the account is entirely deleted.

permalink
report
reply
49 points
*

Many services have a grace period. Mostly it’s 30-90 days where they keep your data, just in case somebody else decided to delete your account or you were drunk or something. But it could also be for legal reasons, like websites where you can post stuff for everybody to see, in case you post something highly illegal and the authorities need to find you. Another example is where a webshop is required to keep a copy of your data for their bookkeeping.

permalink
report
parent
reply
13 points

But it could also be for legal reasons, like websites where you can post stuff for everybody to see, in case you post something highly illegal and the authorities need to find you. Another example is where a webshop is required to keep a copy of your data for their bookkeeping.

None of these require your account to “exist”. There could simply be an acknowledgement stating those reasons with “after X days the data will be deleted, and xyz will be archived for legal reasons”.

Mostly it’s 30-90 days where they keep your data, just in case somebody else decided to delete your account or you were drunk or something

This is the only valid reason. But even then this could be stated so that the user is fully aware. Then an email one week and another one day before deletion as a reminder, and a final confirmation after the fact. I’ve used services before that do this. It’s done well and appreciated.

This pseudo-deletion shadow account stuff is annoying.

permalink
report
parent
reply
3 points

None of these require your account to “exist”.

It’s actually much more technical than theoretical. When you delete an account on a website, that is being kept for a little while longer, it merely has field in the database that gets updated. (often with a removal date as well for the automatic removal after x amount of days). This field needs to be checked everywhere the account is used. And account recovery is mostly a part where this is forgotten, or possibly not even wanted.

And to claim this as fact, I just realized that the website I work on allows recovering of banned accounts. (Removed accounts are completely removed though because we don’t need to retain any data).

This is the only valid reason. But even then this could be stated so that the user is fully aware.

Keeping the records for a little while longer is actually implied to be known. It’s in their privacy policy, and is legal.

Whether or not services should make this easier to know exactly what is happening I definitely agree. Personally I think post history without user identifiable data should also be removed, but this is even less common practice (and is why tools exist to delete all your reddit posts for example).

permalink
report
parent
reply
60 points

When you’re the reason error log messages are created…

permalink
report
reply
56 points

Hoh man what a journey. And I love that this incredibly complex situation is the only reason that status would return. What a fun time debugging that would have been

permalink
report
reply
27 points

The type of error where you have to give up trying to understand the user.

permalink
report
parent
reply
37 points

It’s quite simple actually: The user wanted to delete their account, but forgot their password so they requested a password reset. Before the password reset email was delivered, the user remembered their password and deleted their account. The password reset email is finally delivered and apparently some email clients open all the links in the background for whatever reason, so it wasn’t actually the user who clicked the password reset link.

permalink
report
parent
reply
20 points

apparently some email clients open all the links in the background for whatever reason

What? Really??

permalink
report
parent
reply
15 points

Not really the only reason. It would be better to just return “token invalid”.

It could occur by someone messing with the URL from the reset password email, like accidently adding an extra character before pressing enter

Or a poor email client that wraps the URL and doesn’t send the complete one when clicked.

Or someone attempting to find a weakness in the reset password system and sending junk as the token.

permalink
report
parent
reply
7 points
*

Or an email client where you double click the link text to select it and press copy, and somehow this puts the link plus a trailing space in the clipboard to be pasted into a browser.

permalink
report
parent
reply
0 points

Yeah that error status code seems like an odd way to reflect such a scenario.

permalink
report
parent
reply
48 points

Trying this every time I need to delete an account

permalink
report
reply
15 points
*

Immediately sue them for DSGVO GDPR

permalink
report
parent
reply
10 points

(DSGVO is the German version of GDPR)

permalink
report
parent
reply
3 points

Knew something felt of

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.4K

    Monthly active users

  • 1K

    Posts

  • 37K

    Comments