Check for conifg.xml existence in pre-installation
authorTomasz Iwanek <t.iwanek@samsung.com>
Mon, 24 Jun 2013 07:59:10 +0000 (09:59 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Tue, 25 Jun 2013 13:30:15 +0000 (15:30 +0200)
commit3df8a2af3b9e15f490acd66f07498a602b833633
treeebc013590fa328fb45a3879bab2c51efdd411f0a
parent1e2a1f8328f8a939dee9d04321f1130d1cd44628
Check for conifg.xml existence in pre-installation

[Issue#]       LINUXWRT-478
[Bug]          Crash of wrt-installer with wrong error code
[Cause]        N/A
[Solution]     Check if config.xml file actually exist before parsing
[Verification] Run:
 wrt-extra-tests-w3c --output=text --regexp='_dq'
 wrt-extra-tests-w3c --output=text --regexp='_dw'
 wrt-extra-tests-w3c --output=text --regexp='_bg'
 wrt-extra-tests-w3c --output=text --regexp='_bh'

Change-Id: I70cec6d1a4af2cc2f0dff7beaf34e3233c76ffbf
src/jobs/widget_install/job_widget_install.cpp
src/jobs/widget_install/widget_install_errors.h