Back to search

Have you ever had a bug that fixing it turned cyclical? Ex: You fixed a bug in this piece of code but that caused this piece of code not to work so you fixed that bit of code only to find it broke the original piece of code again.asked by BaconofWar

TL;DRYes, fixing one bug often causes others; Mark Abent describes recent persistence work for 2.4 where adding a physics component to old items triggered a flood of new bugs from QA.

So bugs turned cynical, or cyclical?

Cylindrical?

I don't...

Yes, oh yes, bugs have turned cyclical and cynical. This actually happened recently for 2.4, we're having this persistence shenanigans where you can walk up to your ship and if I have a cup on the ship or a weapon I can select it, remove it and add maybe a pencil or a gun or something and in order to see that interaction we had to use our interaction system which was all the developed for Item System 2.0 – not for the original Item System.So we had to basically start making the original Item System work with this interaction system which meant we had to install a new network component, a new physics component and finally the interaction component and the interaction component and network component were like "Alright, I'll work. I got this. Cool.", physics component was like "Na na na, I got bugs for you.", so when I finally got it installed, got it in, QA started finding some bugs...

Yeah, we had a flood of bugs coming. All of QA was hitting me with like "all the stuff is now falling through things, the turrets were not working-MA: You put a poster on the wall, walk up to it, slap it and it'd fall down to the ground.

It was so funny.

There was like a weapon thing to restock ammo and you could push it into the wall it was like "Oh no, what did I do?". So yes, you fix one and then a bunch more come up because QA – especially Andrew-RV: Yeah.

He'll call you up-RV: Yeah.

-this cynical laugh, and go "I found something.", and you're like [motions facepalm and shakes head].

It's even worse when he re-opens it and lets you know, "By the way, this is for you.".

Not even the way he re-opens it, he skypes you directly and to give you that laugh – it's great.

[sighs] So yeah, fix some, break 'em, happens all the time, then you just go back and fix it. Luckily, that's why we have QA – QA is awesome.

10 for the Developers›Episode 11·
Published on this date.23 May 2016