Opened 14 years ago
Closed 14 years ago
#284 closed enhancement (duplicate)
Near-useless error
Reported by: | osjonathan | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | v2.7.0 |
Component: | General | Version: | v2.6.0RC1 |
Keywords: | Cc: |
Description
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 :-) ).
Change History (4)
comment:1 by , 14 years ago
Type: | defect → enhancement |
---|
comment:2 by , 14 years ago
Milestone: | v2.6.0 → v2.6.1 |
---|
comment:3 by , 14 years ago
Milestone: | v2.6.1 → v2.6.2 |
---|
comment:4 by , 14 years ago
Milestone: | v2.6.3 → v2.7.0 |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
See #452