Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2342

OpenSearch Caching is broken for XMLUI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1, 5.0
    • Fix Version/s: 5.0
    • Component/s: None
    • Attachments:
      1
    • Comments:
      2
    • Documentation Status:
      Not Required

      Description

      In org/dspace/app/xmlui/opensearch/AbstractOpenSearchGenerator lines 121 to 130 the validity object for OpenSearch is created.
      The problem is that the Constructor of the ExpiresValidity expects a delta from the current time but is given the delta + the current time.
      => Cached object will get invalid in about 45 years.
      A version where this problem is fixed is attached.

        Attachments

          Activity

            People

            Assignee:
            helix84 Ivan Masár
            Reporter:
            christian.scheible Christian Scheible
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: