diff options
author | Yevhenii Dementieiev (GitHub) <ydementieiev@luxoft.com> | 2020-01-22 18:02:59 +0200 |
---|---|---|
committer | Yevhenii Dementieiev (GitHub) <ydementieiev@luxoft.com> | 2020-01-22 18:02:59 +0200 |
commit | 641713c8103e6dac7314734aaed2bd714bdf189f (patch) | |
tree | 309d3e87ee2519168166cc3771656231cadf60c6 | |
parent | 910468f9a1bed26b93071392b7317ebde9c8d41f (diff) | |
download | sdl_core-fix/sdl_must_restore_add_commands_in_the_order_they_were_created.tar.gz |
Go to the next command if command id missingfix/sdl_must_restore_add_commands_in_the_order_they_were_created
-rw-r--r-- | src/components/application_manager/src/message_helper/message_helper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/application_manager/src/message_helper/message_helper.cc b/src/components/application_manager/src/message_helper/message_helper.cc index 4f09a3a218..48cf1460f9 100644 --- a/src/components/application_manager/src/message_helper/message_helper.cc +++ b/src/components/application_manager/src/message_helper/message_helper.cc @@ -1439,7 +1439,7 @@ smart_objects::SmartObjectList MessageHelper::CreateAddCommandRequestToHMI( msg_params[strings::cmd_id] = (*i->second)[strings::cmd_id].asUInt(); } else { LOG4CXX_ERROR(logger_, "Command ID is missing."); - return requests; + continue; } msg_params[strings::menu_params] = (*i->second)[strings::menu_params]; msg_params[strings::app_id] = app->app_id(); |