equal
deleted
inserted
replaced
657 //on receiving the corresponding SendObject request. With Associations however |
657 //on receiving the corresponding SendObject request. With Associations however |
658 //we commit the object straight away as the SendObject phase is often absent |
658 //we commit the object straight away as the SendObject phase is often absent |
659 //with folder creation. |
659 //with folder creation. |
660 |
660 |
661 |
661 |
662 iFramework.ObjectMgr().CommitReservedObjectHandleL(*iReceivedObjectP); |
662 TRAPD(err, iFramework.ObjectMgr().CommitReservedObjectHandleL(*iReceivedObjectP)); |
|
663 __FLOG_VA((_L8(" Entry error %d"),err)); |
|
664 if( KErrAlreadyExists == err ) |
|
665 { |
|
666 iReceivedObjectP->SetUint(CMTPObjectMetaData::EHandle, iFramework.ObjectMgr().HandleL(iFullPath)); |
|
667 } |
|
668 else |
|
669 { |
|
670 User::LeaveIfError(err); |
|
671 } |
663 SendResponseL(EMTPRespCodeOK); |
672 SendResponseL(EMTPRespCodeOK); |
664 } |
673 } |
665 __FLOG(_L8("<< CMTPPictGetObjectPropDesc::DoHandleSendObjectCompleteL")); |
674 __FLOG(_L8("<< CMTPPictGetObjectPropDesc::DoHandleSendObjectCompleteL")); |
666 return result; |
675 return result; |
667 } |
676 } |