[Release]wrt-installer_0.1.6
[framework/web/wrt-installer.git] / src / jobs / widget_install / task_widget_config.cpp
index 13fa549..54462a6 100644 (file)
@@ -586,7 +586,7 @@ bool TaskWidgetConfig::isMinVersionCompatible(
     if (widgetVersion.IsNull() || (*widgetVersion).empty()) {
         LogWarning("minVersion attribute is empty. WRT assumes platform "
                    "supports this widget.");
-        return true;
+        return false;
     }
 
     //Parse widget version
@@ -595,7 +595,7 @@ bool TaskWidgetConfig::isMinVersionCompatible(
                             minorWidget, microWidget))
     {
         LogWarning("Invalid format of widget version string.");
-        return true;
+        return false;
     }
 
     //Parse supported version