femanager
femanager copied to clipboard
In2code\Femanager\Domain\Validator\ServersideValidator::getValue(): Return value must be of type string|bool, int returned
Hello there seems to be a bug in the ServersideValidator::getValue(), which requires a return value of type string or bool. In case of additional fields should be validated like gender (int), etc. this funtions throws an exception. Type decleration should be removed!
I can confirm this error
I also can confirm this error (TYPO3 12.4.9, femanager 8.0.1)
I can confirm this error, too.
For everybody needing a fast fix, this patch will do it. But it's for sure no good fix. femanager.issue-539.txt
I can also confirm this issue. An Integer should be added to the return values of the getValue method. If the property is an Object or an ObjectStorage, an Integer value should be returned.
Edit: In the main branch, the return type has already been changed to mixed.