Fresh install of openatrium-7.x-2.33-core. I get a bunch of notices and warnings that I feel I should report.

How to reproduce:
- Directly after install, go to admin/structure/content types/document page/manage fields
- For the field 'Attachments', change the widget to 'File'
- Save the content type
- In the same screen, 'Edit' the field 'Attachments'
- Without changing anything, save the field

This shows the notices and warnings. See attachment.

Thanks,
Mark.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mpotter’s picture

Well, Open Atrium is designed for using the Media module with the attachment field. So it's not surprising that changing this will cause a problem. Why are you trying to change the attachment field to just "file"?

cpdp’s picture

Hi Mike, thanks for responding.

I have been testing this because I would like to use the module Drag & Drop Upload as a widget for this field. Got warnings when I selected that widget in the Document Page content type.

So I tested on a clean install when the warnings would pop up, and it appears to be whenever you select something different than 'Media browser', in this case, 'file'.

Thanks,
Mark.

mpotter’s picture

Instead of Drag & Drop upload you should use this patch to media: https://www.drupal.org/node/951004 #136 and then enable the media_bulk_upload submodule that comes with Media (which will require the plupload module and library).

This provides the multiupload drag/drop functionality. This was all in the "Open Atrium MultiUpload" App but broke in the recent 2.33 update because it was using a different media_multiselect module. The next version of OA2 will have this patch to Media and the plupload module all built into OA2 so the multi-upload and drag/drop will be a standard feature in OA2.

Don't use Drag/Drop...try to stay on the recommended method for handling drag/drop and multiupload.

JKingsnorth’s picture

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

Marking this as fixed, mpotter's solution integrates better with the OA architecture and will be better future-proofed than using other contributed modules.

cpdp’s picture

Allright, will do. Thanks.

Status: Fixed » Closed (fixed)

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