--- a/persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.cpp Tue Jan 26 13:16:24 2010 +0200
+++ b/persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.cpp Fri Mar 19 10:00:55 2010 +0200
@@ -448,7 +448,9 @@
TServerResources::iObserver->LoadRepositoryLC(uid, ETrue, defaultRepository, CIniFileIn::EInstallOnly);
}
else
- {
+ {
+ // The repository must exist in the ROM or install directory (or both).
+ ASSERT(romExists || installExists);
// Reset against empty repository if neither ROM or install file are found
defaultRepository = CSharedRepository::NewL(uid);
CleanupStack::PushL(defaultRepository);