Lyon
Account created on 13 June 2012, about 13 years ago
#

Recent comments

🇫🇷France flocondetoile Lyon

Yes, better to wait that this module works again before publish a release...

🇫🇷France flocondetoile Lyon

You should revamp your theme for table of contents and go with 3.x version. It's not a big deal to add some css rules to visually flatten the TOC.

🇫🇷France flocondetoile Lyon

If you can confirm me this is working well on Drupal 11, I will be able to publish soon a new release. ?

🇫🇷France flocondetoile Lyon

If you can confirm me this is working well on Drupal 11, I will be able to publish soon a new release.

🇫🇷France flocondetoile Lyon

Thanks. Committed.

🇫🇷France flocondetoile Lyon

Thanks. Patch slighty updated and committed.

🇫🇷France flocondetoile Lyon

Added a .gitlab-ci.yml too, to launch existing tests

🇫🇷France flocondetoile Lyon

But you need to check the status (as you do in your patch) too juste before deleting it. An order can be locked after being added in the queue expiration

🇫🇷France flocondetoile Lyon

Hello. Better to do this at the query level no ?

In the commerce_cart.cron service


protected function getOrderIds($order_type_id, Interval $interval) {
    $current_date = new DrupalDateTime('now');
    $expiration_date = $interval->subtract($current_date);
    $ids = $this->orderStorage->getQuery()
      ->condition('type', $order_type_id)
      ->condition('changed', $expiration_date->getTimestamp(), '<=')
      ->condition('cart', TRUE)
      ->range(0, 250)
      ->accessCheck(FALSE)
      ->addTag('commerce_cart_expiration')
      ->execute();

    return $ids;
  }
🇫🇷France flocondetoile Lyon

This patch should resolve this issue.
Patch done on /2.x-dev / 2.1.0 version.
Could you give a try ?

🇫🇷France flocondetoile Lyon

This module uses the node access system. So it can only control access to node, not on others entity types, as media.

🇫🇷France flocondetoile Lyon

I 'don't understand the issue reported. Need reformulation and/or actionnable elements.

🇫🇷France flocondetoile Lyon

There is already a patch in 📌 Automated Drupal 11 compatibility fixes for pbf Needs work and it looks nobody has test it yet.

🇫🇷France flocondetoile Lyon

You can write your own custom field widget for the pdf field and use it instead of the default one provided.

🇫🇷France flocondetoile Lyon

May be you just don't need this module if it don't meet your need.

🇫🇷France flocondetoile Lyon

Without error message we can't do anything. Please provide more actionnable elements about this crash.

🇫🇷France flocondetoile Lyon

This module should not altering this behavior. It's not its responsabilities to add the user.roles context for local action links. Your fix does the job, but doesn't fix the root cause I think. The best way would be (perhaps) to stop overriding route.route_provider and start using addExtraCacheKeyPart() (as domain did it see https://www.drupal.org/project/domain/issues/3359253 Use core route provider with addExtraCacheKeyPart for route caching? Needs review ).

But is this override which is the root cause ? What happens if this module stop to override the Class of the router.route_provider service ?

🇫🇷France flocondetoile Lyon

What impact of such change if content_moderation is not enabled on a project with micro_site ?

🇫🇷France flocondetoile Lyon

I don't understand why micro_site is involved with the /admin/content page (it only provide site entity and related features, and don't change change the node behaviors). This module don't change this page, and don't change any permissions. You should have same bug without micro_site enabled ?

🇫🇷France flocondetoile Lyon

MR11 is not mergeable.

Also you changed the entity type definition for the Site entity.
So you need to update this definition too for existing sites, with a hook_update_N. See https://git.drupalcode.org/project/commerce/-/blob/3.0.x/modules/order/c... (commerce_order_update_8210()) as an example.

🇫🇷France flocondetoile Lyon

Hope the module works fine on D11, as you tell here. I didn't test it on D11 yet.

🇫🇷France flocondetoile Lyon

So I close this issue. Anyway I plan to release a D11 compatible version of the module soon.

🇫🇷France flocondetoile Lyon

There's no hurry. It can wait if other small bug fixes crop up soon. I'll let you decide.

🇫🇷France flocondetoile Lyon

Yes. Thanks. Forgot there is the 3.1.x branch

🇫🇷France flocondetoile Lyon

Thanks for the reminder

🇫🇷France flocondetoile Lyon

Another patch with the value TRUE for TemplateLanguage this time.

🇫🇷France flocondetoile Lyon

Given the doc (https://dev.mailjet.com/email/guides/send-api-v31) not sure the value of the TemplateLanguage should be the language id, but instead just the value TRUE ?

🇫🇷France flocondetoile Lyon

Hello. Thanks for reporting and the patch. I'll commit it with a slight change.

🇫🇷France flocondetoile Lyon

Hello,

Just updated Gin.
Looks like the value of
$widget_type = $form['status']['widget']['#type'] ?? FALSE; is alsways false in my case.

Because the #type to check is in $form['status']['widget']['value']['#type'] and not in $form['status']['widget']['#type'].

And so the status checkbox doesn't go into the gin sticky actions / status container.

Am I alone ?

🇫🇷France flocondetoile Lyon

A field formatter is not in the scope of this module. It's not the right way to support this.

🇫🇷France flocondetoile Lyon

No thanks. I should manage it, I think.

🇫🇷France flocondetoile Lyon

There is a parameter in simplenews.settings.yml named "hash_expiration" which is hardcoded with 86400 value (so 24h).
This settings expires subscribe / unsubscribe links sent in a newsletter.

This parameter is not configurable in the settings UI.

I guess that make this setting configurable would allow to set the period after which the links are not valid anymore. But 24h (the default value) seems really short for newsletters.

A simple workaround is to change this settings in the config file, and then reimport this configuration (drush cim).

Production build 0.71.5 2024