--- a/mtpdataproviders/mtppictbridgedp/src/cmtppictbridgedpsendobjectinfo.cpp Thu Jul 15 19:35:12 2010 +0300
+++ b/mtpdataproviders/mtppictbridgedp/src/cmtppictbridgedpsendobjectinfo.cpp Thu Aug 19 10:44:03 2010 +0300
@@ -659,7 +659,16 @@
//with folder creation.
- iFramework.ObjectMgr().CommitReservedObjectHandleL(*iReceivedObjectP);
+ TRAPD(err, iFramework.ObjectMgr().CommitReservedObjectHandleL(*iReceivedObjectP));
+ __FLOG_VA((_L8(" Entry error %d"),err));
+ if( KErrAlreadyExists == err )
+ {
+ iReceivedObjectP->SetUint(CMTPObjectMetaData::EHandle, iFramework.ObjectMgr().HandleL(iFullPath));
+ }
+ else
+ {
+ User::LeaveIfError(err);
+ }
SendResponseL(EMTPRespCodeOK);
}
__FLOG(_L8("<< CMTPPictGetObjectPropDesc::DoHandleSendObjectCompleteL"));