- Issue created by @pfrenssen
- Status changed to Needs review
8 months ago 2:48pm 19 June 2024 - 🇧🇬Bulgaria pfrenssen Sofia
Posted a proposed fix in the MR. Setting the default value on the field property does not seem to take effect for string based properties so I skipped that part. Tests are failing due to 🐛 Failing tests on main branch Active .
- 🇧🇬Bulgaria pfrenssen Sofia
Great idea to open a 3.x branch! We can set Drupal 10 as a minimum which will allow us to safely use PHP 8 features without breaking B/C. D9 is already EOL but there are possibly still some users who didn't have time to update yet.
- 🇧🇬Bulgaria pfrenssen Sofia
Updated the code to remove the B/C layer that was converting the enum back to string based registration types. This is a pure search/replace job, I have not tried the code.
-
pfrenssen →
committed 2926dd41 on 3.0.x
Issue #3455716 by pfrenssen: Provide a default value for the...
-
pfrenssen →
committed 2926dd41 on 3.0.x
- 🇧🇬Bulgaria pfrenssen Sofia
I'm going to go ahead and merge this in 3.x. We've been using this successfully in production for several months, and 3.x is newly opened and doesn't have any releases yet, so this shouldn't affect any users.
Automatically closed - issue fixed for 2 weeks with no activity.
- 🇧🇬Bulgaria pfrenssen Sofia
Looks like one instance was missed, in
\Drupal\recurring_events_registration\RegistrationCreationService::registrationOpeningClosingTime()
:case 'scheduled': switch ($reg_type) { case RegistrationType::SERIES: // ... break; case 'instance': // <<< Needs to be replaced with the enum value // ...