Skip to content
New issue

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

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

Already on GitHub? # to your account

Add additional check for non-manadatory parameters #2568

Merged

Conversation

ZhdanovP
Copy link
Contributor

@ZhdanovP ZhdanovP commented Sep 5, 2018

Fixes #2443

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

ATF script - smartdevicelink/sdl_atf_test_scripts#2020

Summary

The OnPutFile notification has non mandatory parameters
fileSize and length. If the mobile application has no provided
appropriate parameters SDL sends fileSize: null as json value to HMI.

The commit fixes the issue and simply remove non mandatory parameter in
case mobile app sends nothing for one.

Tasks Remaining:

  • fix implementation
  • atf script

CLA

The OnPutFile notification has non mandatory parameters
`fileSize` and `length`. If the mobile application has no provided
appropriate parameters SDL sends `fileSize`: null as json value to HMI.

The commit fixes the issue and simply remove non mandatory parameter in
case mobile app sends nothing for one.
@jacobkeeler jacobkeeler merged commit 4c7c756 into develop Sep 5, 2018
@jacobkeeler jacobkeeler deleted the fix/sdl_does_not_check_for_non_mandatory_parameters branch September 7, 2018 20:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants