Damn! That definitely tends to suck!
That happened to an acustic guitar that the guitar player in our band had. It was repairable, but it still sucks. I rewired the controls on an early 1960s vintage Gibson EB-0 for a friend last year, it had been broken like that and repaired, but it wasn't a pretty repair...
you can never make it look perfect... but as long as its functional.. its a win...