]
Gustavo Fernandes commented on ISPN-8355:
-----------------------------------------
Merged into master, leaving it open until back porting to 9.1.x
Calling withEncoding on a DecoratedCache loses state
----------------------------------------------------
Key: ISPN-8355
URL:
https://issues.jboss.org/browse/ISPN-8355
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.1.1.Final
Reporter: William Burns
Fix For: 9.1.2.Final, 9.2.0.Alpha1
If you have a DecoratedCache say by invoking
`cache.getAdvancedCache.withFlags(Flag.CACHE_MODE_LOCAL)` if you invoke `withEncoder` on
that it will lose the Flag, Subject or lock owner. We need to make sure these are kept.