Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-448

No way to know if expiration cache value was set via PortletDD

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.4
    • 1.1.5, 2.0.0
    • descriptor
    • None

    Description

      The PortletDD object defaults the expirationCache property to 0. With this value there is no way to know if the expiration-cache element was specified in the portlet descriptor which is needed when implementing support for the expiration cache request property.

      Creating a EXPIRATION_CACHE_UNSET constant set to Integer.MIN_VALUE and initializing the expirationCache property in the PortletDD object with the constant provides a means for implementors to determine if the expiration-cache element was specified.

      Attachments

        1. pluto_cache.patch
          7 kB
          Eric Dalquist

        Activity

          People

            emetsger Elliot Metsger
            edalquist Eric Dalquist
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: