[GeoNetwork-devel] Multiple site url/hostname cause some issues in classic interface.

Using the classic interface (geonetwork 2.10) I logged in as the
administrator and created a new record.
I then did a search for the metadata and clicked on the icon to "Save this
metadata as an ISO19139 XML file" it prompted me for a username and password
even though I was already the admin user.

After looking at metadata-utils.xsl in template showMetadataExportIcons I
noticed that it had a hard coded url.
<xsl:variable name="url"
select="concat(/root/gui/env/server/protocol,'://',/root/gui/env/server/host,':',/root/gui/env/server/port,/root/gui/locService)"/>
    
Then I realized I was browsing the site using
http://localhost:8080/geonetwork instead of the host name identified in the
config. Since everything else was working fine when using the localhost I
would like to know if there are any reason why there is a hard coded url in
this location instead of a relative url?

Thanks.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Multiple-site-url-hostname-cause-some-issues-in-classic-interface-tp5065440.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.