Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
drupal_oa_7.x-2.33_warningnotice_oa_files.png | 114.5 KB | cpdp |
Comments
Comment #1
mpotter CreditAttribution: mpotter commentedWell, 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"?
Comment #2
cpdp CreditAttribution: cpdp commentedHi 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.
Comment #3
mpotter CreditAttribution: mpotter commentedInstead 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.
Comment #4
JKingsnorth CreditAttribution: JKingsnorth commentedMarking this as fixed, mpotter's solution integrates better with the OA architecture and will be better future-proofed than using other contributed modules.
Comment #5
cpdp CreditAttribution: cpdp commentedAllright, will do. Thanks.