From 2b1f1832b03276893b3b02eaebdedc1e2ef409af Mon Sep 17 00:00:00 2001 From: leerang song Date: Tue, 27 Aug 2013 17:18:37 +0900 Subject: [PATCH] Verify the size of DynamicBox * How it works: - When wrt-installer installs DynamicBox webapp, parse the boxsize attribute in config.xml. - Verify the boxsize using web_provider_plugin_check_supported_size API provided from web-provier. - If unsupported size is found, installer sends a ThrowMsg - Web application install should fail. [Issue#] N/A [Problem] When there is unsupported boxsize specified in config.xml, webapp is still installed successfully. [Cause] The boxsize attribute of DynamicBox in config.xml is not checked at the install time. [Solution] Verify the boxsize attribute of DynamicBox in config.xml [SCMRequest] N/A Change-Id: If18ea9136687bfacf8d516bcbbadf8042cbb3e12 --- src/jobs/widget_install/task_widget_config.cpp | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 src/jobs/widget_install/task_widget_config.cpp diff --git a/src/jobs/widget_install/task_widget_config.cpp b/src/jobs/widget_install/task_widget_config.cpp old mode 100644 new mode 100755 index c837279..161c5e0 --- a/src/jobs/widget_install/task_widget_config.cpp +++ b/src/jobs/widget_install/task_widget_config.cpp @@ -82,6 +82,7 @@ TaskWidgetConfig::TaskWidgetConfig(InstallerContext& installContext) : AddStep(&TaskWidgetConfig::ProcessAppControlInfo); AddStep(&TaskWidgetConfig::ProcessSecurityModel); AddStep(&TaskWidgetConfig::StepVerifyFeatures); + AddStep(&TaskWidgetConfig::StepVerifyLivebox); AddStep(&TaskWidgetConfig::StepCheckMinVersionInfo); AddStep(&TaskWidgetConfig::EndStep); } -- 2.7.4