Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-956

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.8.13
    • Fix Version/s: 2.8.20
    • Component/s: None
    • Labels:
      None
    • Steps to Reproduce:
      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.

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ryanemerson Ryan Emerson
              Reporter:
              ryanemerson Ryan Emerson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: