The check for fileNeedsUpload returns true if the image is flagged for overwrite, which results in a failure to display the image.
Additional options were considered, like mixing hasUploadedFile and isStaticIcon checks, but those have an issue where if an overwrite file upload fails the old image will be shown, when it should not show any image instead.
Reproduction Steps
Upload an image with name "test"
Create an AlertView with an icon artwork overwriting "test"
Present the image through the screen manager
Expected Behavior:
The overwriting image should be shown
Bug Summary
The
SDLPresentAlertOperation
fails to display an image marked for overwrite because of this line:The check for
fileNeedsUpload
returns true if the image is flagged for overwrite, which results in a failure to display the image.Additional options were considered, like mixing
hasUploadedFile
andisStaticIcon
checks, but those have an issue where if an overwrite file upload fails the old image will be shown, when it should not show any image instead.Reproduction Steps
AlertView
with an icon artwork overwriting "test"Expected Behavior: The overwriting image should be shown
Observed Behavior: No image is shown
iOS Version(s)
n/a
sdl_ios Version
7.5.0
Testing Environment(s)
Relevant log output
No response