--- a/musichomescreen_multiview/musiccontentpublisher/src/musiccontentpublisher.cpp Wed Apr 14 15:54:18 2010 +0300
+++ b/musichomescreen_multiview/musiccontentpublisher/src/musiccontentpublisher.cpp Tue Apr 27 16:34:37 2010 +0300
@@ -402,9 +402,14 @@
MPX_FUNC("CMusicContentPublisher::DoPublishModifiedL");
if (iCPSInterface && iInstanceId )
{
- CLiwMap * datamap = iPublishingDataMap.GetModifiedLC();
- // Must re-publish all actions even if only one of them has changed,
- // otherwise non-modified actions won't work any more
+ // Must re-publish all data and actions even if only one of them has changed,
+ // otherwise non-modified data might go missing
+ CLiwMap * datamap = NULL;
+ if ( iPublishingDataMap.IsModified() )
+ {
+ datamap = iPublishingDataMap.GetAllLC();
+ }
+
CLiwMap * actionmap = NULL;
if ( iPublishingActionMap.IsModified() )
{