diff options
author | Andriy Byzhynar (GitHub) <AByzhynar@luxoft.com> | 2016-07-14 11:55:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-14 11:55:19 +0300 |
commit | 213d7442702e5d17ff4c97f301921a5d01d45eeb (patch) | |
tree | 8ff99274792dc0329e6014cb44e87beed75befe4 | |
parent | 0fcbf346e99f9cc7617ff110f8cc8285c89a4789 (diff) | |
parent | 8ba7a97207a9de4c17043675d268231cae3e9e4b (diff) | |
download | sdl_core-213d7442702e5d17ff4c97f301921a5d01d45eeb.tar.gz |
Merge pull request #687 from okozlovlux/feature/SDL_fails_json_validation_in_case_json_file_contain_already_registered_app
Change process of json validation
-rw-r--r-- | src/components/application_manager/src/commands/mobile/system_request.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/components/application_manager/src/commands/mobile/system_request.cc b/src/components/application_manager/src/commands/mobile/system_request.cc index cd2418f52e..9b8050e28b 100644 --- a/src/components/application_manager/src/commands/mobile/system_request.cc +++ b/src/components/application_manager/src/commands/mobile/system_request.cc @@ -224,11 +224,9 @@ class QueryAppsDataValidator { ApplicationSharedPtr registered_app = manager_.application_by_policy_id(app_id); if (registered_app) { - LOG4CXX_WARN(logger_, - kQueryAppsValidationFailedPrefix - << "Application with the same id: " << app_id - << " is registered already."); - return false; + LOG4CXX_INFO(logger_, + "Application with the id: " << app_id + << " is already registered."); } // Verify app name exist if (!app_data.keyExists(json::name)) { |