I just try the plupload integration with atoms of type : image and gallery but I couldn't make it work...
When trying to add a new image (with the library or with atom/add/image), I couldn't see a place to drag and drop my images. (see screenshot "Create-Atom-NoPlupload.png")
Expecting the drop area will appear on the next screen, I clicked "Continue" and I got those error messages:

Notice : Undefined offset: 0 dans scald_image_scald_add_form_fill() (ligne 74 dans /var/www/drupal/sites/all/modules/scald/modules/providers/scald_image/scald_image.module).
Notice : Undefined offset: 0 dans scald_image_scald_add_form_fill() (ligne 75 dans /var/www/drupal/sites/all/modules/scald/modules/providers/scald_image/scald_image.module).
Le fichier spécifié n'a pas pu être copié, car aucun fichier portant ce nom n'existe. Veuillez vérifier que vous avez fourni le bon nom de fichier.
Notice : Trying to get property of non-object dans scald_image_scald_add_form_fill() (ligne 80 dans /var/www/drupal/sites/all/modules/scald/modules/providers/scald_image/scald_image.module).
Notice : Trying to get property of non-object dans scald_image_scald_add_form_fill() (ligne 81 dans /var/www/drupal/sites/all/modules/scald/modules/providers/scald_image/scald_image.module).

Scald Core 7.x-1.1+79-dev
Plupload integration module 7.x-1.6
Plupload library 2.1.2

After installing the Plupload integration module, I have

  • Set "plupload" as "Upload type" in admin/structure/scald/image
  • Set "plupload" as "Upload type" in admin/structure/scald/gallery
  • Empty the cache
CommentFileSizeAuthor
Create-Atom-NoPlupload.png31.47 KBdunebl

Comments

dunebl’s picture

Issue summary: View changes
jcisio’s picture

Category: Bug report » Support request
Status: Active » Fixed

Plupload module does not support the 2.x version of the library. You can check the install process at plupload and make sure it works with core component first.

dunebl’s picture

Many thanks for your quick and precise answer.
I revert to the 1.5.8 version of plupload and I could drag and drop multiple files on the form as expected.
However, I found 2 bugs:
1-The "scald tags" are stored with double quotes around them. If I fill tag1, tag2 in the scald tag's field, I would expect to add those 2 new terms in the vocabulary. But in fact only one therm will be added: the concatenation of the two tags between quotes: "tag1, tag2". This bug is annoying as the main purpose of using plupload is to not encode several time the same tags...

2-After having dropped the files that I would like to upload, I MUST click on "start upload" before clicking on "Continue". If I do not, I will have many error messages telling me that no file have been uploaded. I think that the "Continue" button should be grayed out if the files are not uploaded OR clicking on this button should produce an automatic upload of the files. This is a small bug, but it could discourage a end user to discover scald!

Let me know if you think I have to fill a bug report for those bugs.

davidhk’s picture

@DuneBL, for your bug #2 mentioned above, please could you try the patch at https://drupal.org/node/2275349 to see if it solves the problem.

And yes, "one bug per issue" is the guideline, so if you find a new bug you should make a new issue.

dunebl’s picture

Hi davidhk,
I have tried the patch https://drupal.org/node/2275349 and it is solving the problem (after clearing the cache):
1)I have added 2 images in the drop area of the "Add Image Atom" dialog
2)I click on "Continue" without clicking on "start upload"
=>The upload is automatically done
Thanks a lot!

As per your request, I will fill 1 new bug tonight regarding #1 (for info, the quotes are added around the tags ONLY if there are several tags added at once... In other words, adding one tag will not produce any bug)

Status: Fixed » Closed (fixed)

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