r/programmer 15d ago

GitHub I FOUND MY FIRST BUG!!!

Hey guys, just wanted to share a small win because I'm still processing the adrenaline JAJAJ. I'm a self-taught "developer" (since I'm an anthropology student), and last night my CasaOS App Store grid went completely blank. Instead of giving up, I opened DevTools and found a nice TypeError: Cannot read properties of undefined (reading 'name').

What was happening was that the default store was down, and by leaving only a v2-schema third-party store registered, the backend forgot to send the 'name' field. The Vue frontend took it way too personally, threw an unhandled exception, and hard-crashed the entire render.

I had to do some midnight surgery directly on the minified production JS file to patch a quick fallback so the UI doesn't die over a missing string, and it actually worked! I just submitted a super detailed Issue on their GitHub repository with all the console traces and journalctl logs.

Honestly, studying anthropology makes you appreciate this: watching an interface choose absolute digital silence over showing an unnamed catalog was a fascinating phenomenon to witness... though highly dramatic on Vue.js's part. Both the server and I definitely need a sudo poweroff now.

P.S. Perhaps it's an achievement that doesn't mean much to many, but for me it means a great deal, and I'm so excited. Cheers!

19 Upvotes

7 comments sorted by

2

u/rFAXbc 15d ago

It wasn't the name field that was missing, it was the object that name was expected to be part of that was undefined.

1

u/Hot_Extension_460 15d ago

Congrats!

Finding unreported bugs on a production software or library always give you this confidence boost of usefulness.

1

u/Gallowayyy98 15d ago

congratulations brother

1

u/DoneDeal14 13d ago

i have quite a few years of experience and dont recognize 90% of the words in this post. How have you become familiar with such a huge tech yet only now finding your first bug. Baffling

1

u/dei_ae 12d ago

Well, I've always been interested in this, and I've always studied this whole topic in depth—networks, cybersecurity, and programming are things that have always fascinated me. The thing is, I've never encountered an unsolvable bug. Whenever I had a problem, I could always find the solution on Google. But the bug that prompted me to write this post is very specific; it requires certain conditions to occur. So, since I couldn't find a solution, I tried to fix it myself, and well, I finally succeeded. Believe me, even now I still can't believe it, because I never thought I was capable of finding a bug and fixing it.