[issue2551128] Impossible to validate a user with unknonw timezone

Cédric Krier <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
New submission from Cédric Krier:

We got this problem reported by a user: https://discuss.tryton.org/t/unable-to-activate-account-on-roundup/4068

We have pytz installed so I found that date.get_timezone raise UnknownTimeZoneError when pytz is called with unknown timezone but Database.getUserTimezone catch only KeyError.

Here is a patch that makes it raise KeyError as expected.

----------
components: Web interface
files: roundup-pytz-keyerror.patch
keywords: patch
messages: 7198
nosy: ced
priority: normal
severity: major
status: new
title: Impossible to validate a user with unknonw timezone
type: crash
versions: 2.0.0

_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551128>
_________________________________________________


_______________________________________________
Roundup-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/roundup-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.