Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-2135

Attachment-related error mesages are not displayed for PMs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.0
    • 3.0.x
    • Other
    • None
    • PHP Environment:
      Database:

      When attaching a file to a PM fails, there is no error message displayed.

      The reason for that is that the "add file" button triggers the refresh mode, which leads to this code:

      		// On a refresh we do not care about message parsing errors
      		 if (sizeof($message_parser->warn_msg) && $refresh)
      		 {
      		  	$message_parser->warn_msg = array();
      		 }

      So all error messages returned by the message parser are silently ignored.

      ~H

            DavidMJ DavidMJ
            Kellanved Kellanved [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: