Needs review
Project:
Plupload integration
Version:
7.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 May 2014 at 19:08 UTC
Updated:
3 Dec 2014 at 23:32 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
slashrsm commentedIt seems that the problem might come from the module that uses Plupload element.
Comment #2
designerbrent commentedI'm having similar issues, however it is also duplicating the Plupload dialog box, leaving two upload boxes and nothing works to upload after that.
Comment #3
bigfatguy commentedSame problem! If the first image has correct size, and the second image is smaller than required I've got the following error:
Image 11.jpg could not be loaded. Image is too small. Minimum size - 800x800 pixels
Notice: Undefined index: _weight in function _field_sort_items_helper() (string 537 in file /modules/field/field.module).
Warning: usort(): Array was modified by the user comparison function in function filefield_sources_field_submit() (string 276 in file /modules/filefield_sources/filefield_sources.module).
Widget type: image
File sources
Advanced upload widget (Plupload)
If I use default drupal uploader it works fine.
Any patch or workaround?
Comment #4
vtkachenko commentedThis error occures every time after form rebuild. When #id of element has --2, --3... suffix.
Values in form_state['input'] become transformed:
Expected value example:
edit-field-images-draft-upload-und-1-filefield-plupload-pud_0_tmpname
Real value example:
edit-field-images-draft-upload-und-1-filefield-plupload-pud-2_0_tmpname
So, my patch will accommodate pattern to this case.
Comment #5
hefox commentedI have a semi similar issue related to that bunch of code
The proble is that id is changing, but now instead of edit-upload, it's edit-upload--1 (for $id) but the input is edit-upload so it doesn't match even with the above code.
My issue is using a multiple file entity upload in an ctools modal window.