Another, somewhat similar case
Supposedly the first time a certain large North American country with a small air force tried to do a live missle (Sparrow?) firing from its newest fighter type at its test range, it was discovered that said missile would not fire. Apparently there was a software fault in the aircraft's fire control software, such that missles could only be fired if the aircraft's heading was in a certain range. The range of headings that worked matched the axis of the weapons test range where the manufacturer and the first customer had done their testing. Fortunately this was discovered well before said aircraft was ever put in harm's way.