[GeoNetwork-users] Problem with downloading files

I have a problem with downloading metadata files. The problem happens when
the user clicks on the link under Transfer options -> Data for download.
The error message is as follows:

You have not the the correct permissions to access The Following service /
GeoNetwork / srv / eng / http :confused: / localhost / GeoNetwork / srv / eng /
resources.get

The problem also occurs with users who have all the administration
privileges. If, instead, the user clicks with the right button and then
"Save as", the download process works. The alternative download method with
the "Data for Download" button also works correctly.

I've inspected the html element (the link to download) with the "Inspect
Element" function of the browser. The following html pice of code is shown:

<a href=
"http://geonetwork.pv.sipam.gov.br/geonetwork/srv/en/resources.get?id=778&amp;fname=file_nov2009.pdf&amp;access=private&quot;&lt;http://geonetwork.pv.sipam.gov.br/geonetwork/srv/en/resources.get?id=778&amp;fname=file_nov2009.pdf&amp;access=private&gt;title=&quot;Metadata
Title" onclick="runFileDownload(this.href, this.title);
return false;"> METADATA TEXT </a>

I've suspected that the "return false" statement had something to do with
error. Then, I changed the "return false" to "return true" directly in the
generated html. By doing this, the download worked.

Does it happens only in my server instance ? Can any body suggest me an
appropriate procedure on how to fix it? I could change the same statement
in the xsl file but I'm not sure whether it is suitable or not.

Versions of the applications:
Geonetwork 2.10.2 (also had the same problem with 2.10.1)
Tomcat 7.0.37
Centos 5.3.

I too have this issue, unable to download a file via left click from the UI.
WAR deployment GN 2.10.3, running the old UI (not html5 UI)

but Mine was a little worse.

Without first setting the server URL (default was localhost:8080) my file
link was bogus to start with, and I am not sure why this is being 'set' by
the server - not 'detected' as an incoming relative link.

1. Has this issue been logged? or fixed?
2. Is no one else using the file repo side of geonetwork?

Terry

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-with-downloading-files-tp5087755p5135295.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.