Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1719

Only resize fully uploaded file

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.2-B1
    • Fix Version/s: 5.2.2-B2
    • Component/s: File Uploader
    • Labels:
      None

      Description

      1. change "kUploadHelper::moveUploadedFile" method to return actually used filename (will contain ".part" suffix for unfinished uploads)
      2. in the "kUploadHelper::handle" method:
        • always call "$this->moveUploadedFile($tmp_path . $filename);"
        • if return filename matched given filename (upload was completed) and "$storage_format" was specified do the renaming magic

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Erik Snarski [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m