Hungary
Account created on 26 October 2009, over 15 years ago
#

Merge Requests

Recent comments

🇭🇺Hungary imre.horjan Hungary

I was able to solve the issue in mail_login code, and created the ticket for it as well.
https://www.drupal.org/project/mail_login/issues/3497643 🐛 Backward compatibility fix for UserAuthenticationInterface Needs work

🇭🇺Hungary imre.horjan Hungary

imre.horjan changed the visibility of the branch 3497643-backward-compatibility-fix to hidden.

🇭🇺Hungary imre.horjan Hungary

I tried to address the same issue in mail_login.

Unfortunately the old interface works like a wrapper for the new interface, therefore without applying this patch I got an other error:
Error: Call to undefined method Drupal\tfa\TfaUserAuth::authenticateAccount() in Drupal\mail_login\AuthDecorator->authenticateAccount() (line 137 of modules/contrib/mail_login/src/AuthDecorator.php).

In addition to implementing the interface, I also refactored the authentication logic into the new method, because at some point the old method is going to be removed.

I created the MR.

🇭🇺Hungary imre.horjan Hungary

Thanks for your quick reply and detailed summary on the topic.

I assign the ticket to myself, and I will create an MR soon.
I will take a look what else can be done in mail_login and will create the corresponding ticket if necessary.

🇭🇺Hungary imre.horjan Hungary

The merge request contains changes in the composer.json file, which won't apply using composer.
I attach a patch without these changes so it can be applied using composer.

🇭🇺Hungary imre.horjan Hungary

Hello,

f you don't mind I reopen this issue and added a patch for it.

I can reproduce it using Drupal 10.1, PHP 8.1, while editing a menu item using the Group Content Menu module.
https://www.drupal.org/project/group_content_menu/

Even though simple sitemap is enabled only for node and media entities, I get the same error message editing an entity (menu item in this case).
I think custom entity types can also trigger this error, which prevent editing them.

Production build 0.71.5 2024