I have a feature which deploys a master page and changes the masterpage for all webs in the site collection. This works okay usually. We've had an issue two times, where all the aspx pages in the site collection doesn't work anymore, and it looks like it's related to this feature.
What's happening is that suddenly all pages return a 404. I have to open each aspx page and copy the content to a new page. Today I found out that checking out and checking in the file will also fix the issue.
What's strange is that the "Last Modified" date of the pages are weeks back in time, even though something must have corrupted the file the last hour.
This really doesn't make sense to me. Anyone?