Account created on 10 December 2021, almost 3 years ago
#

Recent comments

Ah, I see, it needs to be in a theme not in a module. Sadly the module contains nearly zero documentation :(

Mhm, for some reason the hook isn't called in my module (but other hooks are):

function m_module_csp_policy_alter(\Drupal\csp\Csp $policy, \Symfony\Component\HttpFoundation\Response $response) {
  // Add nonce value to CSP.
  /** @var \Drupal\csp\PolicyHelper $policy_helper */
  $policy_helper = \Drupal::service('csp.policy_helper');
  $policy_helper->appendNonce($policy, 'style', ['unsafe-inline']);
  $policy_helper->appendNonce($policy, 'script', ['unsafe-inline']);
}

Am I doing something wrong?

At first, thanks for the patch, works great so far :) One thing still not working is that if the field references a media element containing an image file upload, in the translation record I can't delete the referenced item but only edit it.

Not sure if this only applies to referenced media entities but also for other ones.

Does anyone else have this behavior?

Sorry for the late answer, I didn't receive notification mails although activated :/

In the translation there is no such link as you describe.

Only in the default language there is.

@saschaeggi Do you have an advice where to start debugging?

@danflanagan8

The release doesn't contain the fix even though in the git repo it is. Strange. Please check the ZIP on

https://www.drupal.org/project/viewfield/releases/8.x-3.0-beta8 β†’

Don't know whether it would be better to create a new issue for this, but I created a simple cron in the module for deleting messages older than 30 days as a cron.

Rerolled #71 for simple_sitemap 4.1.9 fixing the issue

PHP Fatal error:  Cannot redeclare simple_sitemap_update_8408() (previously declared in /var/www/html/app/web/modules/contrib/simple_sitemap/simple_sitemap.install:942) in /var/www/html/app/web/modules/contrib/simple_sitemap/simple_sitemap.install on line 967

Rerolled #72 for simple_sitemap 4.1.9 fixing the issue

PHP Fatal error: Cannot redeclare simple_sitemap_update_8408() (previously declared in /var/www/html/app/web/modules/contrib/simple_sitemap/simple_sitemap.install:942) in /var/www/html/app/web/modules/contrib/simple_sitemap/simple_sitemap.install on line 967

Ah, I just noted that the problem is a patch referenced in https://www.drupal.org/project/simple_sitemap/issues/3080541 ✨ Exclude content with a "noindex" robots meta tag Closed: won't fix . I comment there

I just compared version 2.1.3 with the previous 2.1.2. The line that causes the issue is

https://git.drupalcode.org/project/stage_file_proxy/-/compare/2.1.2...2....

If I revert that to what it was before, it works again. I created a patch for that for the meantime.

At first a big thanks to this new feature. Made parts of our custom implementation obsolete :)

Only one thing bothers me: why is the replacement character only trimmed at the right side of the filename and not on the left one, as well?

https://github.com/drupal/core/blob/10.2.x/modules/file/src/EventSubscri...

I think filenames like -some-filename.png are not so nice. What has been the reason to implement it that way? Couldn't find info in this issue log.

OK, now it works. I needed to regenerate the node access using /admin/reports/status/rebuild . Would've been cool if that was stated somewhere :-/ Found it in a very old video.

I just installed the module and it's quite great. Only thing bothering me is that export config is stored per user and not in yml config. This is not practicable in a multi user setup. A default config on a node type basis would be highly appreaciated.

I rerolled #71 for a setup with metatags v2 replacing the unserialize() calls by json_decode().

One thing maybe to consider is also checking rewrites/redirects. In my current setup I have some URLs in the sitemap leading to nodes having noindex set. Is there reasonable any way to avoid that?

Production build 0.71.5 2024