The newly released Drupal 7.23 release breaks the integration with plupload. It is still possible to select 'advanced upload' and drop images onto it to upload, but after uploading instead of displaying the individual images you get a second upload selector and a weight selection. I've attached screenshots to demonstrate what I mean.

Downgrading back to 7.22 works as temporary work-around.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drclaw’s picture

I can confirm this issue...

Greenman77’s picture

Also confirmed recent upgrade to Drupal 7.23 seems to break PLUpload. Symptoms exactly as Amon_Re has detailed.

oboz’s picture

Confirm this. Now no ideas...

mfgering’s picture

Not sure what the cause is yet, but I can see that the code in plupload.module:121 is not finding its form elements. It is trying to match an element id, e.g. edit-upload-und-0-filefield-plupload-pud--2, to values that look like "edit-upload-und-0-filefield-plupload-pud_0_tmpname". The element id has "--2" appended where the regular expression is not expecting it, in this example.

I created a patch that works so far for me.

mfgering’s picture

FileSize
563 bytes

This patch changes the way the plupload module looks for form elements. It excludes a uniqueness component of the element id that Drupal puts in to support ajax.

NitraM’s picture

mfgering your patch at #5 works for me! Thanks

Amon_Re’s picture

Patch seems to work here too. Running it on my staging site atm.

atlea’s picture

Project: FileField Sources Plupload » Plupload integration
icampana’s picture

Status: Active » Reviewed & tested by the community

I tested this patch in a big site and works perfectly, thanks a lot!

oboz’s picture

mfgering, Thank you very much!!!

slashrsm’s picture

Status: Reviewed & tested by the community » Fixed

Committed. I'll rolll new release shortly.

Thanks!

Status: Fixed » Closed (fixed)

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

tea.time’s picture

  • Commit 762ae29 on 7.x-1.x, 8.x-1.x authored by mfgering, committed by slashrsm:
    Issue #2063161 by mfgering | Amon_Re: Fixed Multi Upload with plupload...
hefox’s picture

Issue summary: View changes
FileSize
573 bytes

Patch against 1.0 for use in make files