-
Notifications
You must be signed in to change notification settings - Fork 244
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
ChoiceSet being processed in DeleteInteractionChoceSet #1883
Comments
Contributor priority is set |
Issue is still applicable for https://github.com/smartdevicelink/sdl_core/tree/release/8.0.0 (de58a41) |
@dboltovskyi, can you please advise when merge conflicts for PR #2613 have been resolved and the PR is ready for Livio's review? |
@theresalech Please notice initial fix for this issue in #2613 is pretty old. We're updating and re-testing it now. Our plan is to re-submit new version in a couple of days. |
Hello @dboltovskyi, could you please help me understand what this change would be used for? What would Mobile do differently if it receives a REJECTED responses versus the current INVALID_ID? From a quick look, I don't see the value of differentiating these pending delete choice sets. |
@VjKlepikov Could you please support with the question from @iCollin. Thank you. |
@iCollin According to requirements APPLINK-14954
Also, I believe the mobile does not send another PerformInteractionChoiceSet with the same ID in case it receives "INVALID_ID" |
@VjKlepikov thank you for your explanation. I understand there is a requirement but I am not sure it is still applicable considering Core has unconditionally replied success for DeleteInteractionChoiceSet until recently. It looks like the libraries do not currently consider the response code to retry a PerformInteraction. I agree it is possible mobile could retry if it gets REJECTED response, but when would the second PerformInteraction request succeed? The SDL HMI sends success unless the choice set is in use, but an in use check already exists in Core. I can't really imagine a use case where a second PerformInteraction request would succeed. I am still struggling to understand the value of tracking if a choice set is pending delete. Do my concerns make sense to you? |
@iCollin |
Closed via #3826 |
Occurrence: Always
Description
ChoiceSet being processed in DeleteInteractionChoceSet
Preconditions
Steps to reproduce
Actual result
SDL responds INVALID_ID (success:false) to this PerfromInteraction
Expected result
SDL must respond REJECTED (success:false) to this PerfromInteraction
Environment
Attachments
Expected delivery
The text was updated successfully, but these errors were encountered: