In accordance to changes of Entity Browser we need to use entityTypeManager instead of entityManager: #2639706: Replace the entity manager with the entity type manager and remove unused imports in code base.

Error message for googlers:

Error: Call to a member function getStorage() on null in Drupal\file_entity\Plugin\Field\FieldWidget\FileEntityBrowser->settingsSummary() (line 88 of modules/contrib/file_entity/src/Plugin/Field/FieldWidget/FileEntityBrowser.php).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dmsmidt created an issue. See original summary.

dmsmidt’s picture

Issue summary: View changes
dmsmidt’s picture

Status: Needs review » Needs work

The last submitted patch, 3: 2769717-03-settings_summary_fix.patch, failed testing.

The last submitted patch, 3: 2769717-03-settings_summary_fix.patch, failed testing.

dmsmidt’s picture

Patch #3 only works in combination with #2769695: Update/Rename "FileEntityBrowser" class to correctly extend "EntityReferenceBrowserWidget" instead of "EntityReference", which is the preferred way to patch.

Attach patch is to test without the other patch (#2769695), but with the reference fix of it.

Status: Needs review » Needs work

The last submitted patch, 6: 2769717-06-settings_summary_fix_STANDALONE.patch, failed testing.

The last submitted patch, 6: 2769717-06-settings_summary_fix_STANDALONE.patch, failed testing.

The last submitted patch, 6: 2769717-06-settings_summary_fix_STANDALONE.patch, failed testing.

Berdir’s picture

Status: Needs work » Closed (duplicate)