Opened 14 years ago

Last modified 12 years ago

#313 new defect

Provide better feedback to user when session is expired or can't connect to database when login

Reported by: josegar74 Owned by: geonetwork-devel@…
Priority: major Milestone: v2.10.0 RC0
Component: User interface (web) Version: v2.6.0
Keywords: Cc:

Description

When the session is expired an scree with a service not allowed message is shown to the user (attached screenshot). The message is not much meaningful.

Also in other cases, like no connection to database in login user receives non meaningful messages.

Attachments (1)

session_expired_message.png (15.7 KB ) - added by josegar74 14 years ago.

Download all attachments as: .zip

Change History (3)

by josegar74, 14 years ago

Attachment: session_expired_message.png added

comment:1 by ianwallen, 12 years ago

Milestone: v2.7.0v2.9.0

I think it would be useful to at least allow the user to enter the username and password so that they can reload the page with these credentials.

The problem is not only related to expired sessions. I sometimes distribute url to restricted metadata records to users. And when clicked, they get this message. I always have to tell them to login to the system first prior to clicking on the link. Same goes for bookmarked metadata records - need to login before selecting bookmark.

comment:2 by fxp, 12 years ago

FYI it will supported by the Spring security proposal (http://trac.osgeo.org/geonetwork/wiki/proposals/SpringSecurity). A login page will be displayed if the target page is not accessible. For the widget apps, we will need to make them a jeeves service instead of simple HTML page (for the servlet filter to be applied).

Note: See TracTickets for help on using tickets.