modified for livebox code to use proper member in WidgetRegisterInfo
authorYunchan Cho <yunchan.cho@samsung.com>
Mon, 14 Jan 2013 05:41:01 +0000 (14:41 +0900)
committerYunchan Cho <yunchan.cho@samsung.com>
Mon, 14 Jan 2013 05:52:51 +0000 (14:52 +0900)
[Issue] wrt-installer is crashed when it installs a webapp with livebox
[Bug] N/A
[Cause] wrt-installer is using improper member of WidgetRegisterInfo
[Solution] wrt-installer is modified to use 'pkgName' member, not 'pkgname' member on handling code regarding livebox

Change-Id: I0943068f322022c51b78fd10d651874fcd93c3cc

src/jobs/widget_install/task_manifest_file.cpp

index e18abdb..4a22574 100755 (executable)
@@ -806,7 +806,7 @@ void TaskManifestFile::setLiveBoxInfo(Manifest& manifest)
         LogInfo("setLiveBoxInfo");
         LiveBoxInfo liveBox;
         DPL::Optional<WrtDB::ConfigParserData::LiveboxInfo> ConfigInfo = *it;
-        DPL::String pkgname = *m_context.widgetConfig.pkgname;
+        DPL::String pkgname = m_context.widgetConfig.pkgName;
         size_t found;
 
         if(ConfigInfo->m_liveboxId != L"") {