Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/Remove check for non-mandatory params for choice sets #297

Merged

Conversation

ShobhitAd
Copy link
Contributor

Implements/Fixes [#265 ]

This PR is ready for review.

Testing Plan

Manual testing with test_suite

Summary

Currently, the sdl_hmi calls the RPCObserver.checkChoice function only when the capabilitiesCheck determines that there is an UNSUPPORTED_RESOURCE. The checkChoice removes a choice object if it is missing the optional secondaryText and tertiaryText parameters(as it does in the issue example). It doesn't seem to be specifically related to STATIC images being used in the sdl_hmi.

This PR removes the check for the optional parameters to prevent the choice object being removed from the choiceSet.

CLA

@ShobhitAd ShobhitAd merged commit e8baa2d into develop Apr 1, 2020
@ShobhitAd ShobhitAd deleted the fix/check_for_non_manadatory_params_in_choice_set branch April 1, 2020 21:02
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.

2 participants