Opened 14 years ago

Last modified 12 years ago

#353 new defect

single file upload when 'uploadDir' is not valid does not trigger an error notification for the user

Reported by: cricri Owned by: geonetwork-devel@…
Priority: minor Milestone: v2.6.5
Component: User interface (web) Version: v2.6.0
Keywords: Cc:

Description

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

Change History (1)

comment:1 by ianwallen, 12 years ago

Milestone: v2.6.5
Note: See TracTickets for help on using tickets.