DEV Community

Julien Dephix
Julien Dephix

Posted on

2 1

Share your coding mistake(s)!

Hello, coders! 💻

I’ll get the ball rolling.

Back in 2006 we were building an e-commerce from scratch and in a hurry as deadline was very tight!
I was in charge of orders from shopping carts to order modifications.
Users were able to edit their orders until the same day at midnight.
Some users complained their orders were missing a DVD or a book. It was a bit random and hard to track.
Upon investigation my colleague realised I had forgotten the order ID clause when deleting products from orders...
So any users who removed a DVD from their own order would remove it from all orders! D’oh!

What are some oops moments you can share?

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay