xperseguers / t3ext-ig_ldap_sso_auth

TYPO3 Extension ig_ldap_sso_auth. This extension provides LDAP and SSO support for TYPO3.
https://extensions.typo3.org/extension/ig_ldap_sso_auth
27 stars 64 forks source link

[BUG] `GeneralUtility::getUserObj` leads to exception in TYPO3 V10 #103

Closed mschwemer closed 4 years ago

mschwemer commented 4 years ago

The method GeneralUtility::getUserObj was deprecated in TYPO3 V9 and removed in TYPO3 V10.

https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.0/Deprecation-80993-GeneralUtilitygetUserObj.html

This method is still present in 3 files:

Solution is to replace the method with GeneralUtility::makeInstance

I will provide a PR.

Howto reproduce

Use the extraMergeField hook while importing users.