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
The buildPutFile function in SDLRPCRequestFactory throws an exception when it is given a valid fileType value. The reason for this appears to be this line:
msg.fileType = [fileType mutableCopy];
I would assume that this is just a copy-paste error, but it is impossible to create a mutable copy of an SDLEnum object, as it does not conform to NSMutableCopying. As a result, whenever this line is executed an exception will be thrown.
The line should just be:
msg.fileType = fileType;
The text was updated successfully, but these errors were encountered:
The
buildPutFile
function inSDLRPCRequestFactory
throws an exception when it is given a validfileType
value. The reason for this appears to be this line:msg.fileType = [fileType mutableCopy];
I would assume that this is just a copy-paste error, but it is impossible to create a mutable copy of an
SDLEnum
object, as it does not conform toNSMutableCopying
. As a result, whenever this line is executed an exception will be thrown.The line should just be:
The text was updated successfully, but these errors were encountered: