Verify the size of DynamicBox
authorleerang song <leerang.song@samsung.com>
Tue, 27 Aug 2013 08:18:37 +0000 (17:18 +0900)
committerSoo-Hyun Choi <sh9.choi@samsung.com>
Wed, 28 Aug 2013 04:22:11 +0000 (13:22 +0900)
* 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 [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index c837279..161c5e0
@@ -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);
 }