You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Component symfony/cache generates cache item ID longer then maxIdLength when versioning is enabled
How to reproduce
Set maxIdLength to 255 provide namespace value with length 231. Enable versioning
class MyAdapter extends AbstractAdapter {
private $maxIdLength = 255;
}
$adapter = new MyAdapter(str_repeat('-', 231));
$adapter->enableVersioning(true);
....
$adapter->set(....);
$adapter->save();
// And now we have cache item ID length more then 255 symbols ($maxIdLength + $namespaceVersion)