Created on 26 September 2023, 10 months ago

Problem/Motivation

Went to block layout to add the Email Verification block, but when I select it, the modal window never updates and does not add block to theme. I thought it was my theme or problem elsewhere, but all blocks work perfectly. It is only this module block that does not populate or get added.

Also, tried context module, tried to add the email verified as a condition and same issue as blocks. The modal window is not updated or the condition is not added. All other modules work perfectly with context except this module, so it seems like this module has a bug somewwhere that affects the modal popups?

Has anyone else come across this bug?

🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇺🇸United States jsidigital

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jsidigital
  • I was also facing similar kind of issue after installing the module there is a problem regrading any block placing from block layout
    The error giving in the console is:
    Uncaught
    js_WYJdm1LCAEhRReEafzoiYvmB4jApQ2ETnLpNjia3Y0E.js:5593 Uncaught Drupal.AjaxError {message: '\nAn AJAX HTTP error occurred.\nHTTP Result Code: 50…\\Core\\DrupalKernel->handle(Object) (Line: 19)\n', name: 'AjaxError', stack: 'Error\n at https://my-first-drupal10-app.lndo.si…m1LCAEhRReEafzoiYvmB4jApQ2ETnLpNjia3Y0E.js:6223:3'}

  • 🇮🇳India sandipta

    I checked it out and the issue persists.
    The email verification block is not getting added.
    Also i tried placing other blocks, but nothing was geting added/populated.
    So for me the entire place-block feature is not working.
    @jsidigital

  • 🇮🇳India sandipta

    So the issue is with the Rules module, this module is having a hard dependency on it and since the rules module is not enabled it is throwing an error.

    Also there is already a similar issue present fo this module, please check this out
    https://www.drupal.org/project/user_email_verification/issues/3376165 🐛 Fatal error when "rules" module is missing RTBC

    And there's a patch available for this too, i tested it out and it's working fine.
    https://www.drupal.org/files/issues/2023-07-21/user_email_verification-r... →

    I suggest applying the patch and checking if the issue still persists, if yes then we can come up with a solution.

    @jsidigital

  • 🇺🇸United States jsidigital

    @sandipta & uttam,

    Thank you for the quick reply.

    I hope the block issue gets resolved soon.

    And regarding the Rules module patch you mention...
    I was not using rules at all, I was using the Context Module.
    Does the context module use the rules conditions or how does that rules module patch relate to context module?

  • 🇺🇸United States jsidigital

    @sandipta,

    The Rules module patch seems to have fixed both issues with Context and the Block.
    Although I am confused as to why there is even a Rules module integration when Rules is so unstable.

    Perhaps instead of Rules integration, an ECA module integration is better since that is stable?

    This is bitter sweet.
    It is good that this problem is solved with that patch...
    However, it is bad because I am left with same problem I had to begin with.
    I cannot create actions based on conditions in context module or eca module.

    I was trying to use context (or ECA) to create a condition and action...
    If current user is verified, then remove "not verified" role.

    And another condition and action...
    If current user is not verified, display message with link to resend verification email when user clicks on link.

    Both of these options are not possible without context or ECA integration that I know of.

    Does anyone know of a way to get these two actions with conditions working?
    If it requires a custom module, is anyone willing to do it for a fee?

    Thank you.

Production build 0.69.0 2024