Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-78073

Message Boards allows larger attachment than Maximum Upload Request Size

    Details

    • Fix Priority:
      3

      Description

      Steps to Reproduce
      1. Navigate to Product Menu > Control Panel > Configuration > System Settings
      2. Navigate to Foundation > Upload Servlet Request
      3. In the 'Overall Maximum Upload Request Size' field, type '10000'
      4. Click 'Update'
      5. Add a new site page
      6. Add the Message Boards portlet
      7. Click 'Post New Thread'
      8. Enter a thread name and content, and add an attachment larger than 10kb
      9. Click Publish
      10. Assert failure message appears

      Expected Outcome
      Failure message appears stating "Request is larger than 10KB and could not be processed"

      Actual Outcome
      Thread publishes with success message and no failure message appears

      Reproduced on
      Tomcat 8.0.32, MySQL 5.7.20
      Master Git ID: 0215c5193e25913810527af3ebe3e490bae8d5a0

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              adolfo.perez Adolfo Pérez
              Reporter:
              austin.bennett Austin Bennett (Inactive)
              Participants of an Issue:
              Recent user:
              Jorge Diaz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 32 weeks ago

                  Packages

                  Version Package