Well, I'd take the dealer at its word that leaking oil cased the alternator failure. I can't imagine them making that up.
The bigger question is why was oil leaking out of the oil filter cap? Is the cap cracked? Was it improperly screwed on? I cannot think of another reason for it to leak. Who...