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

Screen Manager - images not sent on reconnection #953

Closed
NicoleYarroch opened this issue May 4, 2018 · 0 comments
Closed

Screen Manager - images not sent on reconnection #953

NicoleYarroch opened this issue May 4, 2018 · 0 comments
Labels
bug A defect in the library
Milestone

Comments

@NicoleYarroch
Copy link
Contributor

NicoleYarroch commented May 4, 2018

Bug Report

When the app reconnects to a head unit during the same session, sometimes the graphics (including the blank image) uploaded by the screen manager do not get sent to Core due to the SDLUploadFileOperation not being able to get the file data. The inputStream for the SDLFile does not have any bytes available, resulting in an sdl_fileManager_fileDoesNotExistError error. Cleanup may have to be performed by the screen manager when the app disconnects from the head unit (we are not doing any cleanup now).

Reproduction Steps
  1. Connect the app to the head unit and open the SDL app (iAP connection).
  2. Disconnect the app from the head unit by pulling the USB cord (do not kill the app).
  3. Reconnect the app to the head unit and open the SDL app.
Expected Behavior

All the graphics should upload successfully on reconnection.

Observed Behavior

Some of the graphics fail to upload successfully. A sdl_fileManager_fileDoesNotExistError error is returned.

OS & Version Information
  • iOS Version: 11.3
  • SDL iOS Version: 5.3
  • Testing Against: TDK (SYNC 3)
Test Case, Sample Code, and / or Example App

Tested using the SDL_iOS example app

@NicoleYarroch NicoleYarroch added the bug A defect in the library label May 4, 2018
@NicoleYarroch NicoleYarroch added this to the 6.0.0 milestone May 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect in the library
Projects
None yet
Development

No branches or pull requests

2 participants