I work on multiple MCMS sites at the same time. Some are just me playing around, some are just test sites, some production. I use the Database Configuration Application (DCA) to switch databases over.
Yesterday I had an issue with Postings disappearing and, frankly, it was driving me nuts. Even more curious is that they turned up in the Site Manager, but not in my navigation control (quasi-tree based navigation for logged on cms users); nor would they turn up if their URL was typed in directly.
After some snooping around (using CmsContext.Searches.GetByPath – which found it when in edit mode, but not live mode) and looking at groups-google, I discovered the issue was moderators. When something is approved by an editor, and there are moderators in the system, the LIVE page gets ripped down until the moderator approves it. “WTF” indeed. Looks like I won’t be using moderators (not that I have).
To further complicate the situation, the site I was experience the ‘deleting postings’ in did not have any moderators. However, by this stage I felt much more inline with what was going on and guessed the reason. Luckily, I guessed correctly. Using the DCA to swap MCMS databases does not clear the system’s cache; and security settings are included in what is cached. A quick visit to the Server Configuration Application (SCA) -> Cache -> Clear Memory Cache, and all was well and good.
Thus ends the case of the missing postings.