puregin → created an issue.
@drupalam, sorry to be weighing in on this late in the game, but we have in core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php
the following:
/**
* Sets the entity description.
*
* @param string $description
* The entity description.
*
* @return $this
*/
public function setDescription($description);
It seems that setDescription()
returns $this
(an EntityDescriptionInterface), so trying to coerce the result to a string as in #21 is going to give a type error, unless I'm missing something.
Thanks for explaining this, @dpi. The steps you outlined resolve the problem for me.
I'll update the patch to require the dependency via composer.
This is critical since SA-CONTRIB-2024-039 advises upgrading to 2.0.3, which makes the site inaccessible.
Following up on #5, for Drupal 9.3+ use
drush eval "\Drupal::service('update.update_hook_registry')->setInstalledVersion('password_policy', 8301);"
Updating the patch from #103 (thanks crmn and all!).
This patch works well. This is a trivial syntax error fix. Let's get this in.
This patch is working well.
This is working well now with D10. Thanks @bgilhome
@Christian.wiedemann, could you please elaborate on #4? What configuration was wrong, and how can we fix this? I'm having the same issue with ui_patterns_settings 8.x-2.0, ui_patterns 8.x-1.7. wingsuit_link is enabled.
I'm setting the priority of this to "Major" as it affects only deployments using specific docker images, and its effects are limited to the functionality supplied by this module.
I have been seeing the same issue (with version 2.0.0-beta1, Drupal core 9.5.7, PHP 8.1, running an Alpine based PHP-FPM).
I've worked around this by using \Laminas\Stdlib\Glob::glob()
. I will supply a patch later today.