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).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | merlin-mediaselect-disabled.png | 80.89 KB | adambernstein |
Comments
Comment #2
karlsheaThe 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.
Comment #3
adambernstein commentedThanks 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.
Comment #4
karlsheaNope, 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.
Comment #5
adambernstein commentedHa, that was quick! The update works :)
Comment #7
sahil_girhotra commentedHi,
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.
Comment #8
karlsheaPlease open a new issue instead of responding to an unrelated closed issue.
Comment #9
karlsheaComment #10
karlshea