#284: Near-useless error
------------------------+---------------------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.6.0 RC2
Component: General | Version: v2.6.0RC1
Keywords: |
------------------------+---------------------------------------------------
Today I loud up my dev geonetwork to confirm some stuff for one of my
other bug reports for you. The first thing I do is click "search" with a
blank field, this should return public templates of course.
What I get instead is two javascript alert messages.
The first says (sans quotes):
"undefined"
The second says (with trailing brace):
"ERROR)"
I look at the console and see the usual error gibberish stuff and start
panicing because I'm 100% sure I haven't changed in several days. Long
story short I eventually notice an INFO level that's saying it failed to
open a db connection. Turns out that my database (Oracle) is offline, so
nothing to do with GeoNetwork.
But this brings up two issues:
a) The user-level error was 100% useless. Two javascript alerts mean
nothing. May I suggest a message like: "Database connection could not be
established. <br \> Please contact your administrator. We apologise for
the inconvenience."
b) The administrator-level error isn't much more useful. Everything that
is an "ERROR" level event in the console is gibberish - I just got lucky
noticing the "INFO" level event which actually appears before the
"Started... localhost:8080". Administrator-level errors would be nice to
allow fixing of any issues such as lack of database connection etc. (I
realise the errors at present are developer-level).
I suppose this could be considered an "enhancement" instead of a bug.
Semi-relatedly - Unfortunately until I get my Oracle fixed I can't check
some of the issues relating to bugs I've reported that you folks are
studiously working through (good work btw ).
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/284>
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.
#284: Near-useless error
-------------------------+--------------------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
Type: enhancement | Status: new
Priority: major | Milestone: v2.6.0 RC2
Component: General | Version: v2.6.0RC1
Keywords: |
-------------------------+--------------------------------------------------
Changes (by Fxp):
* type: defect => enhancement
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/284#comment:1>
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.
#284: Near-useless error
-------------------------+--------------------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
Type: enhancement | Status: new
Priority: major | Milestone: v2.6.1
Component: General | Version: v2.6.0RC1
Keywords: |
-------------------------+--------------------------------------------------
Changes (by ticheler):
* milestone: v2.6.0 => v2.6.1
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/284#comment:2>
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.
#284: Near-useless error
-------------------------+--------------------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
Type: enhancement | Status: new
Priority: major | Milestone: v2.6.2
Component: General | Version: v2.6.0RC1
Keywords: |
-------------------------+--------------------------------------------------
Changes (by heikki):
* milestone: v2.6.1 => v2.6.2
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/284#comment:3>
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.