[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1134: Insuficient info in error message when uploading MEFv2 file

#1134: Insuficient info in error message when uploading MEFv2 file
-----------------------+----------------------------------------------------
Reporter: ianwallen | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.8.0
Component: General | Version: v2.8.0RC2
Keywords: |
-----------------------+----------------------------------------------------
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.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1134&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
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.

#1134: Insuficient info in error message when uploading MEFv2 file
-----------------------+----------------------------------------------------
Reporter: ianwallen | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.8.0
Component: General | Version: v2.8.0RC2
Keywords: |
-----------------------+----------------------------------------------------

Comment(by ianwallen):

Submitted pull request 46 with fix

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1134#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
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.

#1134: Insuficient info in error message when uploading MEFv2 file
------------------------+---------------------------------------------------
  Reporter: ianwallen | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.8.0
Component: General | Version: v2.8.0RC2
Resolution: fixed | Keywords:
------------------------+---------------------------------------------------
Changes (by ianwallen):

  * status: new => closed
  * resolution: => fixed

Comment:

Fixed in commit 373cc7df42e7d32fa7c0199323f14fa9a19cfd10

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1134#comment:2&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
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.