Common? No. Bummer on your new car experience? Definitely. Worst thing that could have happened in the grand scheme of things? Not even close.
If there is a manufacturing defect with an electronic component, they tend to fail quickly, as you experienced. The service tech will swap it out and you'll be back to where you were the day it rolled off the assembly line. These cars are highly modular.
When I first got my car I had a defect in the roof glass. They had to replace the whole piece. I worried for weeks if the roof would develop a leak. I wouldn't lose 1 second of sleep over them swapping out a circuit board. (And 2 years later, my roof still has no leaks.)