Skip to content
This repository has been archived by the owner on Feb 23, 2020. It is now read-only.

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

Open
wants to merge 2 commits into
base: 8.x-1.x
Choose a base branch
from

Conversation

MegaChriz
Copy link

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
Copy link
Author

MegaChriz commented Oct 2, 2017

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

@freelock
Copy link

I've merged this over on freelock/rng.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants