Hi again,
I'm seeing a few errors upon creating or saving a Media Type with "MerlinOne" image as the source.

Steps to reproduce:
1. Admin >> Structure >> Media Types >> Add Media Type
2. Add a name to media type and select "MerlinOne Image" as the Media Source
3. Save.
Result: Two errors produced

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" plugin does not exist. in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 52 of [local files] \docroot\core\lib\Drupal\Component\Plugin\Discovery\DiscoveryTrait.php).

and

Drupal\Core\Field\FieldException: Attempt to create a field storage field_media_media_merlinone_image with no type. in Drupal\field\Entity\FieldStorageConfig->__construct() (line 252 of [local files]\docroot\core\modules\field\src\Entity\FieldStorageConfig.php).

CommentFileSizeAuthor
#3 merlin-mediaselect-disabled.png80.89 KBadambernstein

Comments

AdamBernstein created an issue. See original summary.

karlshea’s picture

Status: Active » Fixed

The newest 2.x-dev should hopefully fix this. Make sure to run database updates and rebuild your caches, the plugin annotations and IDs have changed.

adambernstein’s picture

StatusFileSize
new80.89 KB

Thanks Karl. The update seems to fix the original errors, but now I'm having issues selecting the "Media Type" when creating an entity browser, even though a MerlinOne media type has been created with MerlinOne Image field as the media source. I'm going to give it a try on a fresh Drupal 8.5.x install and see if I get the same result.

karlshea’s picture

Nope, that's totally my fault, I didn't update the plugin IDs it was checking for in that form. The latest 2.x-dev that I just pushed fixes this.

adambernstein’s picture

Ha, that was quick! The update works :)

Status: Fixed » Closed (fixed)

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

sahil_girhotra’s picture

Title: Error when creating/saving MerlinOne Image media type » MerlinOne meta fields mapping issue
Priority: Normal » Major
Issue tags: +Merlin document, +MerlinOne meta

Hi,

I have an issue in MerlinOne meta fields mapping in drupal 8, i can't able to store fields mapping in database. This is major issue now for me. Please here me out there.

karlshea’s picture

Please open a new issue instead of responding to an unrelated closed issue.

karlshea’s picture

Title: MerlinOne meta fields mapping issue » Error when creating/saving MerlinOne Image media type
Priority: Major » Normal
karlshea’s picture

Issue tags: -Merlin document, -MerlinOne meta