The world of retailing was stunned yesterday when the long-standing boss of Primark quit over an “error of judgement” in his behaviour towards a female colleague.