[GeoNetwork-users] Login in app changing owsContext

Hi,
I have changed config-viewer.xml and is now like this:

<ows-context:OWSContext
xmlns:ows-context="http://www.opengis.net/ows-context&quot; version="0.3.1"
id="ows-context-ex-1-v3">
  <ows-context:General>
    <ows:BoundingBox xmlns:ows="http://www.opengis.net/ows&quot; crs="EPSG:3857">
      <ows:LowerCorner>-9137355.186844222 565349.4617193597</ows:LowerCorner>
      <ows:UpperCorner>9481481.910972152 7834816.599752761</ows:UpperCorner>
    </ows:BoundingBox>
  </ows-context:General>
  <ows-context:ResourceList>
    <ows-context:Layer name="{type=mapquest}" group="Background layers"
hidden="true" opacity="1">
      <ows:Title xmlns:ows="http://www.opengis.net/ows&quot;&gt;MapQuest&lt;/ows:Title&gt;
    </ows-context:Layer>
    <ows-context:Layer name="{type=osm}" group="Background layers"
hidden="true" opacity="1">
      <ows:Title
xmlns:ows="http://www.opengis.net/ows&quot;&gt;OpenStreetMap&lt;/ows:Title&gt;
    </ows-context:Layer>
    <ows-context:Layer name="{type=wmts,name=elf_basemap}" group="Background
layers" hidden="false" opacity="1">
      <ows:Title xmlns:ows="http://www.opengis.net/ows&quot;&gt;ELF Basemap</ows:Title>
      <ows-context:Server service="urn:ogc:serviceType:WMS">
        <ows-context:OnlineResource
xlink:href="http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?&quot;
xmlns:xlink="http://www.w3.org/1999/xlink&quot;/&gt;
      </ows-context:Server>
    </ows-context:Layer>
  </ows-context:ResourceList>
</ows-context:OWSContext>

When I open http://localhost:8080/geonetwork/srv/eng/catalog.search#/map are
maps shown correctly. But If I login into application as user, then my
owscontext (local storage) is changed to:
<ows-context:OWSContext
xmlns:ows-context="http://www.opengis.net/ows-context&quot; version="0.3.1"
id="ows-context-ex-1-v3">
  <ows-context:General>
    <ows:BoundingBox xmlns:ows="http://www.opengis.net/ows&quot; crs="EPSG:3857">
      <ows:LowerCorner>-9192011.273462156 4632695.410307962</ows:LowerCorner>
      <ows:UpperCorner>9426825.824354218 11902162.548341366</ows:UpperCorner>
    </ows:BoundingBox>
  </ows-context:General>
  <ows-context:ResourceList>
    <ows-context:Layer name="{type=osm}" hidden="false" opacity="1">
      <ows:Title
xmlns:ows="http://www.opengis.net/ows&quot;&gt;OpenStreetMap&lt;/ows:Title&gt;
    </ows-context:Layer>
    <ows-context:Layer hidden="false" opacity="1">
      <ows:Title
xmlns:ows="http://www.opengis.net/ows&quot;&gt;OpenStreetMap&lt;/ows:Title&gt;
      <ows-context:Server service="urn:ogc:serviceType:WMS">
        <ows-context:OnlineResource xlink:href=""
xmlns:xlink="http://www.w3.org/1999/xlink&quot;/&gt;
      </ows-context:Server>
    </ows-context:Layer>
  </ows-context:ResourceList>
</ows-context:OWSContext>

What am I missing?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Login-in-app-changing-owsContext-tp5234434.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.