Only resize fully uploaded file

Components

Labels

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

Context Information

None

Additional information (do not use)

None

Activity

Alex April 6, 2018 at 1:49 PM

ci added a comment to rINP16616: Fixes - Only resize fully uploaded file.

Build *#152* finished with *FAILURE* status: http://ci.in-portal.org/job/in-portal-52x/152/

Alex April 6, 2018 at 1:48 PM

alex committed rINP16616: Fixes - Only resize fully uploaded file.

Fixes - Only resize fully uploaded file

Differential Revision: http://qa.in-portal.org/D321

Alex April 6, 2018 at 1:48 PM

alex updated rINP16616: Fixes - Only resize fully uploaded file.

Alex April 6, 2018 at 1:48 PM

alex closed D321: - Only resize fully uploaded file by committing rINP16616: Fixes - Only resize fully uploaded file.
alex updated the diff for D321: - Only resize fully uploaded file.

[API] Administrator April 6, 2018 at 1:48 PM

User committed a fix to 5.2.x. Commit Message:

Fixes - Only resize fully uploaded file

Differential Revision: http://qa.in-portal.org/D321

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Fixed

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

Time tracking

50m logged

Story Points

Fix versions

Affects versions

Created July 23, 2017 at 8:35 AM
Updated December 29, 2024 at 8:50 PM
Resolved April 6, 2018 at 1:48 PM