Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | file_entity-fix_previous_button-1994080.patch | 2.94 KB | vomiand |
Comments
Comment #1
vomiand CreditAttribution: vomiand commentedMade 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).
Comment #2
vomiand CreditAttribution: vomiand commentedComment #3
aaron CreditAttribution: aaron commentedThis works as advertised.
Comment #4
aaron CreditAttribution: aaron commented#1: file_entity-fix_previous_button-1994080.patch queued for re-testing.
Comment #5
aaron CreditAttribution: aaron commentedCommitted to http://drupalcode.org/project/file_entity.git/commit/f453836