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.
Please see the screenshots:
step1 - push button to open multiple upload pop-up
step2 - choose the files to be uploaded
step3 - choose next button and see uploaded file interfaces inside the pop-up window
This is my configuration: plupload-7.x-1.7, multiform-7.x-1.3, Plupload library 1.5.8
Comment | File | Size | Author |
---|---|---|---|
#25 | plupload_compatibility-2828728-25.patch | 565 bytes | joseph.olstad |
| |||
#21 | Issue #2828728 - 3rd popup.jpg | 98.59 KB | interdruper |
#21 | Issue #2828728 - 2nd popup.jpg | 46.84 KB | interdruper |
#12 | step3_new.png | 54.37 KB | charly71 |
#4 | skip_filetype_selection.png | 10.47 KB | joseph.olstad |
Comments
Comment #2
charly71 CreditAttribution: charly71 as a volunteer commentedAnybody?
Comment #3
steinmb CreditAttribution: steinmb as a volunteer commentedPersonally do not use plupload so no idea but try to stay with dev. and re-test if you can. Many changes goes into Media these days. A beta quickly gets old.
Comment #4
joseph.olstad@charly71 I am very interested in this plupload functionality. This is something my clients will want.
Can you please try checking off this configuration option? I think it might help.***EDIT*** Actually I doubt this suggestion will help, sorry ***EDIT***See illustration below:
Comment #5
joseph.olstadYou may also want to check off the option "Skip scheme selection" as well, these probably aren't needed when you're using the plupload plugin , however I'd like you to try it for me please.***EDIT*** actually I doubt this suggestion will help.
Comment #6
joseph.olstadComment #7
joseph.olstadComment #8
joseph.olstadanother related issue, this one is much older and not sure how much help it will be.
Comment #9
joseph.olstadthis one is somewhat related, not sure how much this related issue could help.
Comment #10
joseph.olstadOK, I think I see a possible solution for this issue.
@charly71
apply the patch 1 (to the media module) in
#2212391: Add support for multiple file attachments on fields using Plupload + Media Multiselect
THEN, download the fe_paths module and apply this patch found in comment #22 , apply this to fe_paths:
#1877202: Support for File Fields
Try this, let me know if that helps.
Comment #11
joseph.olstadcomment #10 needs review
Comment #12
charly71 CreditAttribution: charly71 as a volunteer commentedThank you Joseph for your feedback.
I just tried with beta10 version and the issue is still the same. I see the save button at the bottom of the pop-up, after the files, but this is not the old behavior: the pop-up does not close itself. I think this is still a bug and not a "work as designed". But maybe I'm wrong...
Regarding your suggestion (#10) to apply patches, it is too tricky for me.. I think I'll wait the next beta or stable version. Thank you anyway.
Bye
Comment #13
joseph.olstad@charly71
to apply a patch, its quite easy
If you are on Linux, no problem
If you are on windows, download a copy of gitbash and install it.
use the command line provided by gitbash or Linux
now do the same for fe_path module, download that, grab the patch as mentioned.
ALTERNATIVELY you can clone git repos and use 'git apply' to apply the patches, but if you don't have the source control info you should use 'patch' as I mentioned.
Comment #14
joseph.olstadto reverse a patch, run the same command, except with the
-R
optionso
patch -p1 -R < media_bulk_upload-support-multiselect_2212391_1.patch
-R option tells patch to reverse it.
you can also --dry-run a reverse
patch -p1 --dry-run -R < media_bulk_upload-support-multiselect_2212391_1.patch
Comment #15
interdruper CreditAttribution: interdruper commentedThe same in my case. Moreover the files are not saved to the File field after closing the last window, so the issue is serious.
The issue is a regression caused by the commit: https://www.drupal.org/commitlog/commit/698/6605fe03b474f1c7b6d8be318c3bc70d4cec2082, from the issue #2818683: Bulk field editing after bulk uploading. So rolling back this commit fixes the new problem.
I haven't tried #10, but I doubt that requiring an additional module would be the proper approach.
About #2818683: Bulk field editing after bulk uploading, I understand the motivation, but I think that in many cases the additional edit form is not required and in these cases it is an additional and annoying step for the user, unless additional fields should be filled.
Comment #16
joseph.olstadhi @interdruper , thanks very much for the analysis, lets deal with the regression.
Comment #17
brockfanning CreditAttribution: brockfanning commented@interdruper: Quick question - when you encounter the issue with the files not getting attached, how are you closing the popup window? Are you closing it with the save button at the bottom, or with the X in the upper right?
Comment #18
joseph.olstadrelated issue is now fixed in 7.x-2.x dev, can you confirm if this issue can now also be closed as 'fixed' or 'closed duplicate' of 2818683?
#2818683: Bulk field editing after bulk uploading
Comment #19
charly71 CreditAttribution: charly71 as a volunteer commented@joseph
I tried 7.x-2.0-beta10+3-dev (2016-Dec-02) and my issue is still active: I see uploaded files in the popup and I must push save button to close it. Is there any trick to do automatic submit?
Thanks
Comment #20
brockfanning CreditAttribution: brockfanning commented@charly71 I think you may need to disable the new option at /admin/config/media/browser in the "Bulk Upload" section.
Comment #21
interdruper CreditAttribution: interdruper commentedAnswering #20 and #17:
#20: new option 'Bulk upload edit ' in the latest dev works fine: if it is unchecked, the behaviour is the previous one, and the current issue does not arise.
#17: after closing the 2nd popup with the 'Save' button, a new pop-up appears. It can only be closed closing the window. After that, files are not attached to the field. Screenshots attached (2nd and 3rd popups)
Comment #22
brockfanning CreditAttribution: brockfanning commentedThanks @interdruper: You may not want to pursue, since disabling the option works for you. But it would be good to figure out why you're getting that 3rd popup. If you are open to further testing, re-enable that option and read on (no worries if not):
It appears that the media_bulk_upload_multiform_get_form_alter() function is not firing correctly for you. Just to make sure, can you do a full cache clear and try again? That may help to tell Drupal about that hook implementation.
Comment #23
charly71 CreditAttribution: charly71 as a volunteer commented@brockfanning
#20 works fine for me! Thanks a lot!
Comment #24
interdruper CreditAttribution: interdruper at Interdruper commentedAbout #22: well, mystery seems solved. I was used Multiform 7.x-1.1 and in effect, media_bulk_upload_multiform_get_form_alter() was not fired. Updating to latest Multiform 7.x-1.3 made the hook be called, and the files were properly inserted in the field (no 3rd form appears).
I guess that the recent patch to issue #1889652: Possibility to hook into multiple edit form (included in 1.3) is a requirement: a mention in the README (or a requirement in the .info file) would be nice.
Comment #25
joseph.olstad@interduper Here's a patch to resolve the reported issue #24
queued for testing.
Comment #27
joseph.olstadchange to media_bulk_upload.info file, dependency force multiform 1.3 or higher
fixed in dev 7.x-2.x branch of media