Index: sources/device/DeviceModels.cpp =================================================================== diff -u -r6e18f1d24b8cc3d84d26f46f36f73deb34e54371 -rbf9223700613ced6c377f3e3a7b4de8367c30474 --- sources/device/DeviceModels.cpp (.../DeviceModels.cpp) (revision 6e18f1d24b8cc3d84d26f46f36f73deb34e54371) +++ sources/device/DeviceModels.cpp (.../DeviceModels.cpp) (revision bf9223700613ced6c377f3e3a7b4de8367c30474) @@ -275,7 +275,7 @@ // get the value QString val = vByteArray; - ok = ! val.isNull() && val.isSimpleText(); + ok = ! val.isNull(); // TODO: add regex to check valid string // && val.isSimpleText(); // check if the vExitCode passed and it has a value other than zero if ( ! ok ){ _data.mReason = Device::DeviceError::eDevice_Scripts_Error_Incorrect_Rsp_Type ; goto lError; } // there is not a valid value @@ -320,7 +320,7 @@ // get the value QString val = vByteArray; - ok = ! val.isNull() && val.isSimpleText(); + ok = ! val.isNull(); // TODO: add regex to check valid string // && val.isSimpleText(); // check if the vExitCode passed and it has a value other than zero if ( ! ok ){ _data.mReason = Device::DeviceError::eDevice_Scripts_Error_Incorrect_Rsp_Type ; goto lError; } // there is not a valid value