- Issue created by @kasperg
- Merge request !144Return anonymous user as event owner if it has been deleted → (Open) created by kasperg
The Recurring Events module provides the EventUserTrait to implement EntityOwnerInterface.
In this interface the getOwner() function specifies the return value to be a UserInterface instance. However if the owner of the event is subsequently deleted then the implementation in the trait will return NULL. This is not an allowed return value according to the specification.
Update the implementation in the trait to return the anonymous user if the user does not exist.
A similar topic has been discussed for Drupal Core and returning User::getAnonymousUser() seems to be the agreed upon solution.
None.
None.
None.
Active
2.0
Recurring Events (Main module)