homescreenpluginsrv/hspsmanager/src/hspsclientrequesthandler.cpp
branchRCL_3
changeset 118 8baec10861af
parent 114 a5a39a295112
child 130 67f2ed48ad91
--- a/homescreenpluginsrv/hspsmanager/src/hspsclientrequesthandler.cpp	Wed Sep 01 12:22:09 2010 +0100
+++ b/homescreenpluginsrv/hspsmanager/src/hspsclientrequesthandler.cpp	Tue Sep 14 21:55:16 2010 +0300
@@ -741,7 +741,13 @@
                                 }
                             else
                                 {
-                                error = KErrCorrupt;
+                                // Child counts should match, set plugin to Error state
+                                const TInt pluginUid = hspsServerUtil::GetPluginUid( parentNode ).iUid;
+                                __ASSERT_DEBUG( pluginUid > 0, User::Leave( KErrCorrupt ) );
+                                AddErrorConfigurationL( 
+                                    appDom,
+                                    *parentNode,
+                                    pluginUid );                                        
                                 }
                             }
                         else