fix(preferences): Fix the issue when signature is too long and preferences are not saved. Note that MySQL profile table should be updated with a migration script

This commit is contained in:
smizrahi
2023-07-25 17:22:11 +02:00
parent ec27f7e714
commit 326bc68f4c
13 changed files with 95 additions and 9 deletions
@@ -248,6 +248,7 @@
"Digitally sign the message by default" = "Digitally sign the message by default";
"Always try to encrypt the message" = "Always try to encrypt the message";
"An error occurred while importing the certificate. Verify your password." = "An error occurred while importing the certificate. Verify your password.";
"Data too big. Please contact technical support." = "Data too big. Please contact technical support.";
/* Additional Parameters */
"Additional Parameters" = "Additional Parameters";
@@ -248,6 +248,7 @@
"Digitally sign the message by default" = "Toujours signer le message";
"Always try to encrypt the message" = "Toujours tenter de crypter le message";
"An error occurred while importing the certificate. Verify your password." = "Une erreur est survenue lors de l'importation du certificat. Veuillez vérifier votre mot de passe.";
"Data too big. Please contact technical support." = "Données trop longues. Contactez votre support technique.";
/* Additional Parameters */
"Additional Parameters" = "Paramètres supplémentaires";
+3
View File
@@ -1743,6 +1743,9 @@ static NSArray *reminderValues = nil;
else
results = (id <WOActionResults>) [self responseWithStatus: 503
andJSONRepresentation: [NSDictionary dictionaryWithObjectsAndKeys: @"Service temporarily unavailable", @"message", nil]];
} else {
results = (id <WOActionResults>) [self responseWithStatus: 500
andJSONRepresentation: [NSDictionary dictionaryWithObjectsAndKeys: @"Error during the validation", @"message", nil]];
}
}