Skip to content

createAdminNotify links not working anymore since v8.3.2 #665

@Patta

Description

@Patta

After update to v8.3.2 the adminConfirmationRefused and adminConfirmationRefusedSilent links in the CreateNotify.html admin email template are not working anymore.

FE:

TypeError
In2code\Femanager\Utility\HashUtility::validHash(): Argument #1 ($hash) must be of type string, null given, called in /var/www/html/vendor/in2code/femanager/Classes/Controller/NewController.php on line 187

BE Log:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: In2code\Femanager\Utility\HashUtility::validHash(): Argument #1 ($hash) must be of type string, null given, called in /var/www/html/vendor/in2code/femanager/Classes/Controller/NewController.php on line 187 | TypeError thrown in file /var/www/html/vendor/in2code/femanager/Classes/Utility/HashUtility.php in line 18. Requested URL: https://REMOVED/confirmCreateRequest/New/?tx_femanager_registration%5Bhash%5D=00d77fc3bf26372d&tx_femanager_registration%5Bstatus%5D=adminConfirmationRefusedSilent&tx_femanager_registration%5Buser%5D=7758&cHash=b7407a7399c4d6cfde24c3febf31640d

If we update the action links in the CreateNotify.html email template with the new variable "adminHash:adminHash" like documented for the CreateAdminConfirmation.html template in https://github.com/in2code-de/femanager/blob/v8/Documentation/Upgrade/Index.rst#to-version-810, the behavior/issue is the same.

Additional recommendations

  • The removed setting ['new']['email']['activateEmailLinkFormConfirmation'] should also removed in
    activateEmailLinkFormConfirmation = 1
  • The new TypoScript setting confirmAdminConfirmation should be placed in new./email./createAdminConfirmation./ instead of new./email./createUserConfirmation./

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions