This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Drupal security advisory for modules

Hello,

Our organization is looking at some modules (Citations) but I noticed it not covered by the Drupal Advisory Policy.

Suggestions on how to test it for vulnerabilities or will it get certified?

The module looks great but we are worried about it's safety.

Thanks,

V

custom form module submits without the uploaded file

Hello

As I'm relativly new to drupal, is this the first time aiming towards this forum for support. I'm sure people will recognize this issue.

My first steps in drupal weren't easy but they were challenging but the challenge gets harder while I'm progressing through this assignment I'm working on.

Webform validation

I want to add some meta data to submit button of a web form
What i want is when the form get validated and before submit event of webform the metadata get added to the submit button and when submit event trigger the js onclick event will work directly

Is there any way to achieve it
1. I tried custom validator using form alter and then rebuild the form
2. Tried to use event subscriber but was confused where and how would it implement
3. Was checking for any key on form state where we get to know that the form is validated or not if yes then we add meta data

Module release version does not match tag

Hi, we have recently released a new version for our module (https://www.drupal.org/project/tawkto/releases/8.x-1.4).

Upon testing the installation using composer

composer require 'drupal/tawkto:^1.4'

we noticed the installed code does not match the tag in drupalcode (https://git.drupalcode.org/project/tawkto/-/tree/8.x-1.4?ref_type=tags)

The specified #ajax callback is empty or not callable

I have run into an issue with a complex Ajax enabled form in a custom module (Drupal 9.5). In certain error scenarios I get 

Symfony\Component\HttpKernel\Exception\HttpException: The specified #ajax callback is empty or not callable

because the triggering_element can't be found in /Drupal/Core/Form/FormAjaxResponseBuilder.php . So I ended up setting the property manually in my validate function like this:

General error: 1205 Lock wait timeout exceeded; try restarting transaction

Hi Team,

When users create or modify the token and rebuild the cache, then immediately the website and mobile app goes down. when we check the logs there is an error as below

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions