Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4389

Typo in key struts.messages.error.file.too.large

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.15.3
    • Fix Version/s: 2.3.20
    • Component/s: Core Interceptors
    • Labels:
      None

      Description

      There's a typo in the english key:

      struts.messages.error.file.too.large=The file is to large to be uploaded: {0} "{1}" "{2}" {3}
      

      Should be "too large".

      While we're at it, the resulting message is not very user friendly: The file is to large to be uploaded: upload "LargeFile.zip" "LargeFile.zip.temp" 11000000

      Suggestion:

      struts.messages.error.file.too.large=File {0} is too large to be uploaded. Maximum allowed size {3} bytes?
      

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              wild_oscar Miguel Almeida
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified