diff -r 315810614048 -r 839377eedc2b videocollection/mpxmyvideoscollection/src/vcxmyvideosmdsalbums.cpp --- a/videocollection/mpxmyvideoscollection/src/vcxmyvideosmdsalbums.cpp Thu Aug 19 09:57:17 2010 +0300 +++ b/videocollection/mpxmyvideoscollection/src/vcxmyvideosmdsalbums.cpp Tue Aug 31 15:15:55 2010 +0300 @@ -337,7 +337,6 @@ rootCondition.AddRelationConditionL( *iContainsRelationDef ); CMdELogicCondition& leftCondition = relationCondition.LeftL(); - CMdELogicCondition& rightCondition = relationCondition.RightL(); //...left side is an album... leftCondition.AddObjectConditionL( *iAlbumObjectDef ); @@ -446,6 +445,11 @@ // TITLE (NAME) if ( aAlbum.IsSupported( KMPXMediaGeneralTitle ) ) { + if ( TVcxMyVideosCollectionUtil::Title( aAlbum ).Length() > KVcxMvcMaxTitleLength ) + { + User::Leave( KErrArgument ); + } + if ( aObject.Property( *iMdsDb.iTitlePropertyDef, property, 0 ) != KErrNotFound ) { static_cast(property)->SetValueL(