I'm playing through the career mode in 1.2 and recently sent a multi part vehicle (lander, return vehicle plus two satellites) to the mun to satisfy four contracts in one mission.
One of the contracts is to "Dock two vessels on or around the Mun". To meet the requirements of this I detached my return vehicle that I'm going to leave in orbit from the lander, then re-docked with the lander.
As I understand the contract I should have met its requirements of two vessels having been docked in the correct location, but the game failed to recognise this.
Possibly the game is expecting the two vessels to be launched from Kerbin separately, but that seems a bit strange given that one of the most common uses of docking is after sending landers to planet surfaces.
I'd be curious to know if anyone else has come across this behaviour of the game.