Problem/Motivation

In the issue #3251250: WSOD after installation on media overview I got reminded that we miss the move to the entity update api.
See also https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Entity%21...

Proposed resolution

Ensure field storage installation.

Remaining tasks

I'm not sure if an deinstallation is also needed .. it will get uninstalled auto-magically right now.

Probably the hook_entity_base_field_info can be moved to hook_entity_base_field_alter, which has a change warning here https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!entity.api... - #2346329: hook_entity_base_field_info_alter() and hook_entity_bundle_field_info_alter() are documented to get a parameter that doesn't implement an interface with setter methods

Comments

ytsurk created an issue. See original summary.

ytsurk’s picture

Issue summary: View changes
StatusFileSize
new4.31 KB

Here a first patch.

Yet only updating media's image bundle on vocabulary change. This should probably done for all bundles.
Or none, as it will anyway introduce other side effects when changing the vocabulary ...

Shall we really support the change of vocabularies actively?

ytsurk’s picture

ytsurk’s picture

Version: 2.0.1 » 2.1.x-dev
rang501’s picture

Status: Needs work » Closed (works as designed)

Should not be an issue anymore

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.