Skip to content

Conversation

@Ypostolov
Copy link
Contributor

@Ypostolov Ypostolov commented Oct 18, 2018

Fixes #977

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

Covered by ATF script.

Summary

There was an issue SDL sends in BC.UpdateAppList in vrSynonyms and ttsName values taken from applications name. Was added logic to apply vrSynonyms and ttsName values from the json file in case when only default language settings are present.

CLA

@ShobhitAd
Copy link
Contributor

@Ypostolov Please update this PR to include changes from the latest develop

…me_vrSynonyms_ttsName_case_of_bound_values_in_json
@dboltovskyi
Copy link
Contributor

@ShobhitAd Please find update in 49a4ec9

Ypostolov and others added 2 commits April 29, 2021 13:04
…l.cc

Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
…l.cc

Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
@Ypostolov
Copy link
Contributor Author

@ShobhitAd File updated. Please check.

json::ttsName)) {
SDL_LOG_DEBUG("Get ttsName from default language");
ttsName =
app_data[json::languages][default_idx][json::default_][json::ttsName];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ypostolov Please notice ttsName is an array according to the https://github.com/smartdevicelink/sdl_core/tree/develop/src/components/interfaces/HMI_API.xml#L2914.
However within fix we got non-array value, e.g.

"ttsName": "A",

In Json file it's defined as non-array, but it looks like we need to convert it to array with single element.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dboltovskyi
Fixed in ce8706b.
Please check regression.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ypostolov Thank you for update, - it works.

@ShobhitAd ShobhitAd merged commit 8fa7c92 into smartdevicelink:develop May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.