Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-2328

Admin popup: Uploading image over 1 MB leads to uncommon error message and reseting all fields

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 3.7 Larks
    • Fix Version/s: 3.7 Larks
    • Labels:
    • Environment:

      Chrome, Firefox

    • Sprint:
      3.8 Larks

      Description

      Steps to reproduce
      1. Login and go to Administration mode
      2. Open Administration pop-up dialog
      3. Click on 'Upload Logo' or 'Upload Fav Icon' button and upload an image over 1 MB
      4. Exit from the error message that is appeared

      Actual result 'Sorry, unexpected error occurred' message is shown. All popup filled fields are reseted
      Expected result 'File is too large. Maximum image size is 10,240 bytes.' message is shown. No popup filled fields are reseted

      Reproduced on Preprod too

        Attachments

        1. log.txt
          6 kB
        2. 2016-05-13_1421.png
          2016-05-13_1421.png
          199 kB
        3. 2016-05-13_1420.png
          2016-05-13_1420.png
          199 kB

          Structure

            Activity

              People

              • Assignee:
                Ilonna Pan Ilonna Pan
                Reporter:
                Ilonna Pan Ilonna Pan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel