The pilots in this case did know where they were going: Edinburgh. They received instructions from their employer
BA said a paperwork error was to blame, with the pilot following orders from Germany, where WDL’s head office had filed the incorrect flight plan. The pilots flew according to fly the plane to Edinburgh, they received a flight plan to Edinburgh for that planethey were given, and ATC happily routed their plane along itsthat flight plan to Edinburghas well. Everything matched exactly how it was supposed to, and the The pilots did absolutely nothing wrong; they did exactly what they were toldhad no reason to dosuspect the flight plan was incorrect, as thousands of commercial pilots do every dayand safety was never compromised.
The dispatchers involved could use improvement, though.