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
FileAttachmentField.php should show the validation exception message provided with something like the following.
try {
$this->upload->loadIntoFile($tmpFile, $fileObject, $this->getFolderName());
$ids[] = $fileObject->ID;
} catch (ValidationException $e) {
return $this->httpError(400, $e->getMessage());
} catch (Exception $e) {
$error_message = _t('FileAttachmentField.GENERALUPLOADERROR', 'Sorry, the file could not be saved at the current time, please try again later.');
return $this->httpError(400, $error_message);
}
The text was updated successfully, but these errors were encountered:
FileAttachmentField.php should show the validation exception message provided with something like the following.
The text was updated successfully, but these errors were encountered: