If 'Server error!' is reported, there is no other useful information offered with this message, even though the HTTP error is offered by the plugin. This patch remedies that.

The only non-whitespace section of this patch is

@@ -648,7 +648,7 @@ function SWFU(id, settings) {
         ref.displayMessage(Drupal.t('The upload limit (!num) has been reached!', {'!num': ref.settings.file_upload_limit}), 'status');
         return;
       case -200:
-        message = Drupal.t('Server error!', {'!num': ref.settings.file_upload_limit});
+        message = Drupal.t('Server error: HTTP !message.', {'!message': message});
     };

     // Give the user some visual indicators of the event
CommentFileSizeAuthor
swfupload-server-error-message.patch6.42 KBaaron

Comments

aaron’s picture

Status: Active » Needs review
carvalhar’s picture

adding this line to JS i could see the error.

In my case it was a 403...not sure how to handle it although :(

avpaderno’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

I am closing this feature request, as it's for a not supported project version. If you want to see this feature implemented for a supported project version, please re-open this issue.