I dislike the patent system, and I also dislike dishonesty - but could it have been possible that the person accused might have stumbled across the same solution independently?
If the person came up with the solution on his own, wouldn't he patent it in full including the missing piece that the author checked in only later? Without that piece, the solution does not work.