Account created on 17 February 2015, almost 10 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States jfurnas

Even with this patch in place, I am still getting the same error message related to using 'guess' as the method name.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

@mingsong I am not sure I entirely agree with this.

The 'send' button is only rendered if email is setup as otp anyway (even with application code as well), so surely there's a way to trigger the automatic email if 'only' email otp is enabled. This is not only a user experience improvement but also a pretty standard practice.

At the very minimum, adding in some messaging on the page to indicate the user must first click 'send' to receive the code should be considered as receiving the code automatically via email is a pretty standard practice in TFA, and without some messaging indicating users need to click it to even receive the first code isn't very use friendly.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

Would a better solution be to just send the verification code when the TFA activation form is first displayed?

Seems counter-intuitive to have to click 'Send' first when you typically get the code sent automatically.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

@ja09 That's correct. I can send the sendgrid test email, and all of the default system emails (password resets, etc) all go through, but any other emails not generated by Drupal core (like from other modules, or from custom modules), all throw the same error.

I did some debugging, and I temporarily added a print statement where the Assertion happens at (in vendor/fastglass/sendgrid/src/Mail/emailAddress.php), and it's printing the email address field twice, with no space and no commas between them. (e.g. test@example.comtest@example.com) on the PHP error page.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

Uploading a new version of the patch.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

Our team has been working on this for our own project and are sharing what we did.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

I for some reason did not get notifications of this new issue. I will look at this. Thank you for reporting.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

BUMP. Checking in on the status of this. Aside from having to increase the number of remembered devices to a really high number (and therefore making remember device limit pointless), there is no way to forget remembered devices for users. When the limit is reached, they are no longer asked to remember any more devices.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

jfurnas β†’ made their first commit to this issue’s fork.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

All set. The licensing and *.info.yml information has been removed.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

Hi! I had sort of bypassed the queue since there are already two issues in there that the maintainer/owner has not addressed in over a year. Felt it was pointless to post in the queue when it's not monitored.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

Can I get a bump on this please? This has become an extreme burden as we are doing active development and keep getting our emails rerouted numerous times a day because config_ignore is not ignoring the settings and is instead changing them.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

I can confirm that today, running Drupal Core 9.5.9 that I start seeing this issue immediately after a cache clear whenever I view a page that loads or uses entities. This is the error I am receiving as of today:

Warning: Undefined array key 1 in Drupal\Core\Entity\EntityDisplayRepository->getAllDisplayModesByEntityType()

πŸ‡ΊπŸ‡ΈUnited States jfurnas

Check your settings.php file. It looks like setup didn't write the settings.php file correctly or you have a module somewhere that's changing the database.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

This has been pushed into the main release so I am going to mark this resolved.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

Uploading the patch to remove the unneeded lines.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

I am running PHP 8.1 and using the latest version of sendgrid_integration (with the above patch included in it), and I am receiving the same error message, except it's not returning the 'to' address. I can replicate it across all emails being sent in the system (both custom emails and system emails)

πŸ‡ΊπŸ‡ΈUnited States jfurnas

Thanks for the reply JayPan. Do you have an example of this? I have custom JavaScript in place via an attached library, but the JavaScript file runs only once so once I submit and the Ajax runs (which is when the validation happens), it doesn't re-attach/run the JavaScript.

πŸ‡ΊπŸ‡ΈUnited States jfurnas

@shrishail-hiremath,

Thanks for the response. I can confirm that I am running the most up to date version of the module. Weirdly enough though, it seems to be working now.

Production build 0.71.5 2024