Elektrine lite

← Feed

@emmy@transfem.social

Post #2469139

2026-05-13 05:16 UTC

Aaahhh, what a mess. And I have to understand how it failed and try to find a solution. What I understand so far: 1- The backend requires two kinds of files. The first kind is always required and is hardcoded in the front end. The second kind is conditional depending on many factors. 2- The API has an endpoint returning the list of conditional files which are then presented to the user dynamically. 3- After uploading and getting the file paths, there's an API for submitting the file paths. It has one list that we were supposed to send both required and conditional files in it. 4- We had a front end bug where if the list of conditional files was empty, the page broke. 5- We fixed that, allowing the user to continue without uploading conditional files. 6- The submit endpoint started failing. This is very bad because it's called after the user has already paid! Now we have money but the user didn't get the service they paid for! (don't worry, they'll get refunds) 7- It's failing because the attachments list is empty! Why is it empty?? 8- We had another bug where we never sent the required documents in the list!! 9- Did the backend never check for the required documents since the beginning...? And this passed testing?

Replies (1)

  • @emmy@transfem.social 2026-05-13 05:18

    I hope the client (the owner of the backend) is not mad at us... But why didn't their backend have two lists for clearly different kinds of files? And why didn't it check? And how did they sign off on this?

    Open ##2594765