By longwave on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.3.x
Introduced in version:
10.3.0
Issue links:
Description:
Drupal\Core\Cache\CacheCollector provided a method to normalize lock names before trying to use them:
$cid = $this->getCid();
$lock_name = $this->normalizeLockName($cid . ':' . __CLASS__);
However, the lock service already normalizes names so this is no longer necessary. If you were calling normalizeLockName(), just remove the method call and pass the lock name directly.
Impacts:
Module developers