You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If SDLShow initWithMainField1:(nullable NSString *)mainField1 mainField1Type:(nullable SDLMetadataType)mainField1Type mainField2:(nullable NSString *)mainField2 mainField2Type:(nullable SDLMetadataType)mainField2Type alignment:(nullable SDLTextAlignment)alignment is called with a nil mainField1(/2)Type, a crash will occur, even though those parameters are listed as nullable.
Bug Report
If
SDLShow initWithMainField1:(nullable NSString *)mainField1 mainField1Type:(nullable SDLMetadataType)mainField1Type mainField2:(nullable NSString *)mainField2 mainField2Type:(nullable SDLMetadataType)mainField2Type alignment:(nullable SDLTextAlignment)alignment
is called with a nilmainField1(/2)Type
, a crash will occur, even though those parameters are listed as nullable.Reproduction Steps
initWithMainField1:(nullable NSString *)mainField1 mainField1Type:(nullable SDLMetadataType)mainField1Type mainField2:(nullable NSString *)mainField2 mainField2Type:(nullable SDLMetadataType)mainField2Type alignment:(nullable SDLTextAlignment)alignment
withnil
mainField1Type
.Expected Behavior
The method returns successfully without that parameter set
Observed Behavior
An exception crash occurs
OS & Version Information
The text was updated successfully, but these errors were encountered: