Clicking logout after timeout gives exception

Reported by Lars Helge Øverland on 2010-10-03
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
DHIS
Undecided
Lars Helge Øverland

Bug Description

When clicking logout after the session has timed out one is presented with the "something went wrong" message. The user should be redirected to the login screen instead.

Changed in dhis2:
milestone: none → 2.0.6
status: New → Confirmed
Changed in dhis2:
assignee: nobody → Tri Tran Thanh (tranthanhtri84)
Saptarshi (sunbiz) wrote :

Actually throws a NullPointerException, as the authentication is null because the session cookie has expired. This can be replicated by logging in, then clearing all cache and then pressing the logout link. In v2.0.4, it would show the exception, but now we hide any uncaught exceptions

Saptarshi (sunbiz) wrote :

Checks if the authentication is null and then redirects to the login page, if authentication is null

Changed in dhis2:
status: Confirmed → Fix Committed
Saptarshi (sunbiz) wrote :

Sorry, Saptarshi, this code i copied form you.

================================
Tran Thanh Tri
  HISP Viet Nam
  Cell phone: +84903670967
================================

2010/10/7 Saptarshi <email address hidden>:
> Fix committed to branch - 2.0.5 in rev #2046
> http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/2.0.5/revision/2046
>
> --
> Clicking logout after timeout gives exception
> https://bugs.launchpad.net/bugs/654203
> You received this bug notification because you are a bug assignee.
>
> Status in DHIS 2 - District Health Information Software: Fix Committed
>
> Bug description:
> When clicking logout after the session has timed out one is presented with the "something went wrong" message. The user should be redirected to the login screen instead.
>
>
>

Hi Saptarshi,

this bug fix didn't solve the problem, getting same error.. Do you think you
could have a new look at it?

2010/10/7 Saptarshi <email address hidden>

> Fix committed to branch - 2.0.5 in rev #2046
> http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/2.0.5/revision/2046
>
> --
> Clicking logout after timeout gives exception
> https://bugs.launchpad.net/bugs/654203
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in DHIS 2 - District Health Information Software: Fix Committed
>
> Bug description:
> When clicking logout after the session has timed out one is presented with
> the "something went wrong" message. The user should be redirected to the
> login screen instead.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/dhis2/+bug/654203/+subscribe
>

Changed in dhis2:
status: Fix Committed → In Progress
status: In Progress → Triaged
Changed in dhis2:
assignee: Tri Tran Thanh (tranthanhtri84) → Lars Helge Øverland (larshelge)
status: Triaged → Fix Committed

LinkedIn
------------

Bug,

I'd like to add you to my professional network on LinkedIn.

- Tri

Tri Tran Thanh
Developer at Officience
Vietnam

Confirm that you know Tri Tran Thanh:
https://www.linkedin.com/e/3og29s-h0dpa7rz-10/isd/6479540036/krkaA45q/?hs=false&tok=2_OYu9NFgs0lc1

--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://www.linkedin.com/e/3og29s-h0dpa7rz-10/VpMvEksigzQPVrOyjMlI1__iqk5eKNw11kWgAaY/goo/654203%40bugs%2Elaunchpad%2Enet/20061/I2247948722_1/?hs=false&tok=01iX8JEwss0lc1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.

Tri Tran Thanh (tranthanhtri84) wrote :

LinkedIn
------------

Bug,

I'd like to add you to my professional network on LinkedIn.

- Tri

Tri Tran Thanh
Developer at Officience
Vietnam

Confirm that you know Tri Tran Thanh:
https://www.linkedin.com/e/3og29s-hlde23pb-1p/isd/16396468283/CakG3uAT/?hs=false&tok=2mLX7SXUrQDRU1

--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://www.linkedin.com/e/3og29s-hlde23pb-1p/VpMvEksigzQPVrOyjMlI1__iqk5eKNw11kWgAaY/goo/654203%40bugs%2Elaunchpad%2Enet/20061/I5452614383_1/?hs=false&tok=3uFQ_GgJjQDRU1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.

Tri Tran Thanh (tranthanhtri84) wrote :

LinkedIn
------------

Bug,

I'd like to add you to my professional network on LinkedIn.

- Tri

Tri Tran Thanh
Developer at Officience
Vietnam

Confirm that you know Tri Tran Thanh:
https://www.linkedin.com/e/3og29s-hm8y9qxf-3g/isd/16396468283/CakG3uAT/?hs=false&tok=2FNAUTss0O75Y1

--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://www.linkedin.com/e/3og29s-hm8y9qxf-3g/VpMvEksigzQPVrOyjMlI1__iqk5eKNw11kWgAaY/goo/654203%40bugs%2Elaunchpad%2Enet/20061/I5640017499_1/?hs=false&tok=0a3arB1asO75Y1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers