It's not true. Ussually you can get visa as long as your passport doesn't expire in half year and you often get visa for 10 years (even unlimited before 911). The visa is still valid when you get new passport which explicitly say it replaces the old one (with old passport number on it).