Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1902

Web Console shows different Infinispan Eviction Max Entries value for default value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.ER5
    • 7.0.0.DR12
    • Web Console
    • None
    • Hide

      1. Set max-entries to default value (-1)
      /subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=eviction:write-attribute(name=max-entries)

      2. Load web console and go to configuration->infinispan->hibernate (view)->eviction
      max-entries appears as 0 instead of -1.

      Show
      1. Set max-entries to default value (-1) /subsystem=infinispan/cache-container=hibernate/local-cache=entity/component=eviction:write-attribute(name=max-entries) 2. Load web console and go to configuration->infinispan->hibernate (view)->eviction max-entries appears as 0 instead of -1.

      Eviction max-entries is unable to display/enter negative values, resulting in 0 being displayed if max-entries is set to its default value of -1.

      This is important for when Eviction Strategy = NONE as -1 is a valid parameter.

      This also applies to other submenu fields such as max-idle in Expiration.

              remerson@redhat.com Ryan Emerson
              remerson@redhat.com Ryan Emerson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: