localgovdrupal / localgov_events

Events for LocalGov Drupal.
GNU General Public License v2.0
1 stars 0 forks source link

AssertionError: assert($form_display instanceof EntityFormDisplayInterface) line 64 localgov_events.module #17

Closed tanc closed 2 years ago

tanc commented 3 years ago

Just a quick note that I'm seeing this on install:

AssertionError: assert($form_display instanceof EntityFormDisplayInterface) in assert() (line 64 of /app/web/modules/contrib/localgov_events/localgov_events.module) #0 /app/web/modules/contrib/localgov_events/localgov_events.module(64): assert(false, 'assert($form_di...')
#1 /app/web/modules/contrib/localgov_events/localgov_events.install(18): localgov_events_optional_fields_settings(true, true)
#2 [internal function]: localgov_events_install(true)
#3 /app/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(392): call_user_func_array('localgov_events...', Array)

Looks like these fail assertion as they don't exist yet.

andybroomfield commented 2 years ago

This is also a live issue at BHCC, i'd like to get fix #73 (or #18, but I think #73 is simpler) merged as soon as can be.