]
Tristan Tarrant updated ISPN-5915:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.2.0.Alpha1
8.2.0.Final
Resolution: Done
Displaying caches in management console doesn't detect non-TX
cache correctly
-----------------------------------------------------------------------------
Key: ISPN-5915
URL:
https://issues.jboss.org/browse/ISPN-5915
Project: Infinispan
Issue Type: Bug
Components: Console
Affects Versions: 8.1.0.Alpha2
Reporter: Jiří Holuša
Assignee: Vladimir Blagojevic
Fix For: 8.2.0.Alpha1, 8.2.0.Final
Page "Caches" tab -> click on certain cache container: list of caches in
that container is shown.
Having cache configured e.g. like this:
{code}
<local-cache name="localCache" start="EAGER">
<transaction mode="NONE"/>
</local-cache>
{code}
However, in the UI, the cache is still marked as transactional. There is the
"transactional" icon in the cache card and also when I click to the filter to
show only TX caches, the cache is still displayed.
It seems to me that the code only checks for presence of <transaction> element, but
not it's "mode" attribute. If I set the cache without the
<transaction> element, it's correctly recognized as non-TX cache.