Uploaded image for project: 'GeoServer'
  1. GeoServer
  2. GEOS-8052

CSW get capabilities ingore virtual services settings and always use the global service ones

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.3, 2.12-beta, 2.11.1
    • Component/s: CSW
    • Labels:
      None

      Description

      To reproduce this issue just configure a virtual service for CSW and configure a specific abstract for it, then request the capabilities document for the virtual service. The abstract will be the global service one.

      This issue happens because the CSW service instance is stored as a class variable and never updated in this classe:

      https://github.com/nmco/geoserver/blob/7a116cb2ae08d7ab6101ac5c56169dca9d02d493/src/extension/csw/core/src/main/java/org/geoserver/csw/DefaultWebCatalogService.java#L61-L61

        Attachments

          Activity

            People

            • Assignee:
              tbarsballe Torben Barsballe
              Reporter:
              nmco Nuno Oliveira
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: