After uploading the file.
If step 2 and 3 are skipped you are redirected to step 4. (only one filetype and only one scheme)
If on step 4 you click on previous button, you are being taken to step 2 instead of step 1.

#1 file_entity-fix_previous_button-1994080.patch2.94 KBvomiand
PASSED: [[SimpleTest]]: [MySQL] 874 pass(es).
[ View ]


Status:Active» Needs review
Issue tags:+file_entity previous file upload
new2.94 KB
PASSED: [[SimpleTest]]: [MySQL] 874 pass(es).
[ View ]

Made changes to this funtion: file_entity_add_upload_submit

Basically the problem was that the check for skiping step was done in the wrong order for previous button.
The check was done for step 2 after that for step 3, so only step 3 was skipped.
Changed the order of step skipping check when going back (previous button).

Status:Needs review» Reviewed & tested by the community

This works as advertised.

Status:Reviewed & tested by the community» Fixed

Automatically closed -- issue fixed for 2 weeks with no activity.