Account created on 19 October 2010, about 14 years ago
#

Recent comments

πŸ‡«πŸ‡·France damien laguerre

Thanks for your feedback!
Yes, I've made a commit to fix your second point.
The new version contains both corrections.

πŸ‡«πŸ‡·France damien laguerre

The deprecation in SimplenewsStatsPage was solved here: https://www.drupal.org/project/simplenews_stats/issues/3442000 πŸ› Deprecated function: Creation of dynamic property Drupal\simplenews_stats\SimplenewsStatsPage Fixed
What version of the module are you using?

πŸ‡«πŸ‡·France damien laguerre

First, thanks for your works!

I tried your patch and implemented the function mymodule_entity_clone_clonable_fields_alter(array &$fields)
But that's not enough, for this to work I need to clear the new entity field using a bundle class with a custom createDuplicate:

  /**
   * {@inheritdoc}
   */
  public function createDuplicate() {
    $duplicate = parent::createDuplicate();

    $duplicate->set('field_paragraph', null);

    return $duplicate;
  }

Otherwise, the field is not cloned by entity_clone, but is already filled by the core duplication.

πŸ‡«πŸ‡·France damien laguerre

Applied the patch on Drupal 10.3.5 + commerce 2.40 and everything works fine.
Very useful, thank you!

πŸ‡«πŸ‡·France damien laguerre

Thank you for your help and the time you spent on my module.
I really appreciate it!

Thanks again.

πŸ‡«πŸ‡·France damien laguerre

It's done!

Thanks to all those who took the time for this little module.

πŸ‡«πŸ‡·France damien laguerre

The security coverage is in progress:
https://www.drupal.org/project/projectapplications/issues/3441891 β†’

You can help it with code review.

πŸ‡«πŸ‡·France damien laguerre

Sorry, My bad, it's for the 2.0.x version.

πŸ‡«πŸ‡·France damien laguerre

Thank you for your time and sorry for the delay.

I've made all the changes. Everything is visible on the repository, I haven't made any release yet.

πŸ‡«πŸ‡·France damien laguerre

Idem, #43 solved my problem.
I'm experiencing this problem in a REST resource. The context user.node_grants:view throws this error.

πŸ‡«πŸ‡·France damien laguerre

Yes, there was a problem with the variable names.

Thanks for the work!

πŸ‡«πŸ‡·France damien laguerre

I've released new version for Simplenews 4.0.

πŸ‡«πŸ‡·France damien laguerre

The error occurs in the loggin screen. Look at the console before submitting it.

πŸ‡«πŸ‡·France damien laguerre

In the case of Gin the problem is visible in the console.

Antibot use JavaScript, checks your console, you must have a JS error.

πŸ‡«πŸ‡·France damien laguerre

I've also encountered a similar problem.

This ticket fixes the problem:
https://www.drupal.org/project/gin/issues/3432512 πŸ› Missing once dependencies on sticky and gin_accent libraries even tho it uses it Fixed

πŸ‡«πŸ‡·France damien laguerre

I also applied the patch to 4 sites two days ago, and the spam was all blocked.
Everything seems to be working perfectly.

Thanks for the patch.

πŸ‡«πŸ‡·France damien laguerre

I encounter a similar issue with a view facets filter.

Everything works fine, except if I want to apply the action to all result pages.
The facets module does not identify which facets filters are active on the batch route.

I found a (quick and maybe dirty) solution by passing the "f" parameter to the query.

πŸ‡«πŸ‡·France damien laguerre

In the case of an anonymous customer, using the users field does not work.
Using the information contained in the Address field of the profile may be a good solution.

'FirstName' => $address['given_name'],
'LastName' => $address['family_name'],

πŸ‡«πŸ‡·France damien laguerre

To remain compatible with all sites using ipless, I've implemented the hook_config_schema_info_alter to include to system.performance schema the ipless config description.

πŸ‡«πŸ‡·France damien laguerre

I think the error here is the migration ID

d7_node_complete must be replaced by the migration ID upgrade_d7_node_complete_page

id: upgrade_d7_node_complete_page
migration_group: migrate_drupal_7
label: 'Node complete (Basic pages)'
source:
  plugin: d7_node_complete
  node_type: page
process:
  nid:
     -
       plugin: migration_lookup
       migration: upgrade_d7_node_complete_page <<-- Must match the migration ID
       source: tnid
     -
       plugin: node_complete_node_lookup
πŸ‡«πŸ‡·France damien laguerre

This is caused by the "Watch mode".
If you are on production, you have to disable this functionality in
Configuration > Development > Performance

But the error indicates that you can't write to your file directory.
web/sites/default/files

Checks the permissions of your directory.
Something like this might help. Adapt the permissions to your environment.
chmod 775 web/sites/default/files

πŸ‡«πŸ‡·France damien laguerre

I had the same issue with Drupal 10 and php 8.1.
I confirm that using the dev version solved the issue.

Thanks!

πŸ‡«πŸ‡·France damien laguerre

All possible groups are :

  • base
  • layout
  • component
  • state
  • theme

In your case, you have a library with "components" group key.
If your site is working fine with ipless disabled, it means that you have a library like this one:

base:
  less:
    components: <---
      css/components/foo.css:

You can try something like this and you'll get the same error:

base:
  css:
    foo: <---
      css/components/foo.css:

'Error: Undefined constant "CSS_FOO" in constant() (line 180 of

This is not an error of the module, but an error in a lbrary.

πŸ‡«πŸ‡·France damien laguerre

I think this is a mistake in the definition of a library.

The "component" key does not have an S at the end.

base:
  css:
    component: <---
      css/components/foo.css:

πŸ‡«πŸ‡·France damien laguerre

Thank you. I hope this will be merged in a next release.

πŸ‡«πŸ‡·France damien laguerre

Great!

2. I discovered that in Drupal the service_collector tag corresponds to tagged_iterator in Symfony. Use this instead of creating a compiler pass.

I first tried this way, but it could not be used with all the Symfony services I defined the first time.
Now it's really the best solution.

I did some tests and everything works fine!

Production build 0.71.5 2024