Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dmytro-aragorn created an issue. See original summary.

joseph.olstad’s picture

Status: Active » Needs review

that code I believe is to support bulk upload using multiform and plupload.

alternatively you can enable the multiform module following the quick install guide.

however yes, lets look at this patch.
couple of suggestions:
rather than !empty() (negative is TRUE)
could use a positive is TRUE condition like isset()

Also, we could alternatively put a notice message in the watchdog about optionally installing plupload /multiform for bulk upload ability.

Thanks for the patch! lets trigger the tests.

joseph.olstad’s picture

Status: Needs review » Reviewed & tested by the community

RTBC patch 3

joseph.olstad’s picture

actually, this patch should be
(isset($blah) && $blah)

to check for true.
I will reroll this.

joseph.olstad’s picture

Status: Reviewed & tested by the community » Needs work

Status: Needs review » Needs work

The last submitted patch, 8: media_undefined-index-multiselect_2985057-8.patch, failed testing. View results

joseph.olstad’s picture

Status: Needs work » Needs review
joseph.olstad’s picture

Title: Notice: Undefined index: multiselect in template_preprocess_media_views_view_media_browser() » Notice: Undefined index when media_bulk_upload, plupload and multiform are disabled : multiselect in template_preprocess_media_views_view_media_browser()

change title

joseph.olstad’s picture

Title: Notice: Undefined index when media_bulk_upload, plupload and multiform are disabled : multiselect in template_preprocess_media_views_view_media_browser() » If media_bulk_upload, plupload and multiform are disabled: watchdog Notice: Undefined index multiselect in template_preprocess_media_views_view_media_browser()
joseph.olstad’s picture

Status: Needs review » Fixed

Thx

  • joseph.olstad committed 282dbe3 on 7.x-4.x
    Issue #2985057 by joseph.olstad, dmytro-aragorn, harshil.maradiya: If...

  • joseph.olstad committed be11dd6 on 7.x-3.x
    Issue #2985057 by joseph.olstad, dmytro-aragorn, harshil.maradiya: If...

  • joseph.olstad committed 815c76c on 7.x-2.x
    Issue #2985057 by joseph.olstad, dmytro-aragorn, harshil.maradiya: If...

Status: Fixed » Closed (fixed)

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