I am using the following:
- Drupal 8.6
- Media Library
- Media Entity Browser 8.x-2.0-alpha1
- Inline Entity Form 8.x-1.0-rc1
- Entity Browser 8.x-2.1
- Entity Embed 8.x-1.0-beta2
Mainly to upload documents. I have updated the media type: file [/admin/structure/media/manage/file/fields] to include an additional text area 'abstract'.
I have two problems.
1 In a WYSIWYG CKEditor field: I have added the default Media Entity Browser. This works fine for added existing media, but upload does not work. On the upload tab, I can upload a file, which shows as: icon - filename - remove button.
Click on the select media button and I get the following error: 1 error has been found: Choose a file, with a link to: /entity-browser/iframe/media_entity_browser?uuid=7a535c60a92fbe357951d3bb7440bc97bf8d9554&original_path=/entity-embed/dialog/full_html/media_entity_embed#edit-widget
which does nothing if clicked.
If I look at /admin/content/files, I can see the file I have just uploaded. But there is no corresponding media item: /admin/content/media
Any ideas how to get the media browser file upload to work?
2. On the content type I have and entity reference field, set to media and uses the widget: media library. I can add existing and upload new files no problem, BUT, when I upload a new file, I only have the option to edit the file name, not add the custom abstract textarea. I have the abstract textarea form element added to the media item in /admin/structure/media/manage/file/form-display which shows if you add media items by add media -> file /media/add/file
thank you for your help.