Roomify / bat_drupal

Booking and Availability Management Tools for Drupal 7 and Drupal 8
33 stars 7 forks source link

Error when creating an Event without Units #22

Closed derimagia closed 8 years ago

derimagia commented 8 years ago

When I was first learning the module I couldn't figure this out for a while, but these are the repo steps.

1) Set up module, Type Bundle, Unit Bundle, don't create any units 2) Go to /admin/bat/events/add and create an event 3) Notice the error:

Call to a member function getEventDefaultValue on boolean
acrollet commented 8 years ago

@Derimagia the unit field was not required at one time, but it is now. Please re-open if you can reproduce with the latest versions of bat + bat_api (beta4)

thanks!