#353: single file upload when 'uploadDir' is not valid does not trigger an error
notification for the user
----------------------------------+-----------------------------------------
Reporter: cricri | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: User interface (web) | Version: v2.6.0
Keywords: |
----------------------------------+-----------------------------------------
Hi there,
I was just trying to upload a single file to Geonetwork's metadata
catalogue using the 'Metadata Insert' function in Geonetwork. However,
when I was clicking the 'Insert' button, to upload the selected file to
the catalogue, nothing would happen. I have tracked this to a problem with
the 'uploadDir' property in 'WEB-INF/config.xml' being set to an invalid /
non existent target. In the logs, a FileNotFoundException exception is
thrown, but no error notification is given to the user.
Now, would it be possible to have some user error notification shown in
the web interface when a user tries to insert a single metadata file when
the uploadDir is invalid ? Something like: "Invalid upload dir. Please set
'uploadDir' in 'WEB-INF/config.xml' to a valid target".
Thanks
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/353>
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.