rng icon indicating copy to clipboard operation
rng copied to clipboard

EventType::getIdentityTypeEntityFormMode() should return a form mode string

Open MegaChriz opened this issue 7 years ago • 2 comments

On the event type form, when you select an alternative form mode for a person, it looks like the change is not saved, because when the form is reloaded the default form mode seems to be selected.

I have found that the bug is in EventType::getIdentityTypeEntityFormMode(). This returns a boolean, while it should return a string representing the selected form mode, according to EntityTypeInterface::getIdentityTypeEntityFormMode().

MegaChriz avatar Sep 29 '17 10:09 MegaChriz

I have added an automated test covering EventType::getIdentityTypeEntityFormMode().

MegaChriz avatar Oct 02 '17 09:10 MegaChriz

I've merged this over on freelock/rng.

freelock avatar Oct 20 '19 18:10 freelock