Opened 12 years ago

Closed 12 years ago

#1134 closed defect (fixed)

Insuficient info in error message when uploading MEFv2 file

Reported by: ianwallen Owned by: geonetwork-devel@…
Priority: major Milestone: v2.8.0
Component: General Version: v2.8.0RC2
Keywords: Cc:

Description

When uploading a MEFV2 file with hundreds of metadata record, if there is one bad record it is difficult to identify the offending record as the error message is quite generic.

No valid metadata file found

The error message generally means that it could not identify the schema to apply for metadata in one of the hundreds of records...

It would be better to identify the folder within the MEFV2 structure that is causing the error so that it is easier to debug.

Note: even turning on debugging does not provide enough debugging information. Even for the good records is generally specified the file as "metadata.xml" which is not very meaningfull.

Error message should be modified to make it easier to debug.

Change History (2)

comment:1 by ianwallen, 12 years ago

Submitted pull request 46 with fix

comment:2 by ianwallen, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in commit 373cc7df42e7d32fa7c0199323f14fa9a19cfd10

Note: See TracTickets for help on using tickets.