mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0031013: Application Framework - Storage status is wrong after a failure
CDF_StoreList.cxx::Store() was amended
This commit is contained in:
parent
620a6baa59
commit
780fbc2897
@ -101,6 +101,10 @@ PCDM_StoreStatus CDF_StoreList::Store (Handle(CDM_MetaData)& aMetaData, TCollect
|
||||
throw Standard_Failure(aMsg.str().c_str());
|
||||
}
|
||||
|
||||
// Reset the store-status.
|
||||
// It has sense in multi-threaded access to the storage driver - this way we reset the status for each call.
|
||||
aDocumentStorageDriver->SetStoreStatus(PCDM_SS_OK);
|
||||
|
||||
if(!theMetaDataDriver->FindFolder(theDocument->RequestedFolder())) {
|
||||
Standard_SStream aMsg; aMsg << "could not find the active dbunit";
|
||||
aMsg << TCollection_ExtendedString(theDocument->RequestedFolder())<< (char)0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user