View Issue Details

IDProjectCategoryView StatusLast Update
0007395TalerMerchant frontends (Python3)public2022-11-04 20:52
ReporterChristian Grothoff Assigned ToMS  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.9 
Summary0007395: demo shows 502 instead of 404, also likely bad link in bank
Descriptionhttps://twitter.com/realpxl/status/1581584342396334081
TagsNo tags attached.

Activities

MS

2022-10-17 20:25

reporter   ~0019217

502 comes from a i18n problem (triggered by the page not being found):

  File "/home/demo/local/lib/python3.9/site-packages/flask_babel/__init__.py", line 230,
 in get_locale
    locale = Locale.parse(rv)
  File "/home/demo/local/lib/python3.9/site-packages/babel/core.py", line 267, in parse
    parts = parse_locale(identifier, sep=sep)
  File "/home/demo/local/lib/python3.9/site-packages/babel/core.py", line 1099, in parse
_locale
    raise ValueError('expected only letters, got %r' % lang)
ValueError: expected only letters, got 'public-accounts'

Christian Grothoff

2022-10-20 11:24

manager   ~0019252

Well, but if the page is not found OR the i18n doesn't match, why not return 404 instead of 502!?!?

MS

2022-11-02 12:50

reporter   ~0019342

Fixed here: a80b6a5d8eada7c9d1...

Issue History

Date Modified Username Field Change
2022-10-17 20:08 Christian Grothoff New Issue
2022-10-17 20:08 Christian Grothoff Status new => assigned
2022-10-17 20:08 Christian Grothoff Assigned To => MS
2022-10-17 20:25 MS Note Added: 0019217
2022-10-20 11:24 Christian Grothoff Note Added: 0019252
2022-11-02 12:50 MS Note Added: 0019342
2022-11-02 12:50 MS Status assigned => resolved
2022-11-02 12:50 MS Resolution open => fixed
2022-11-04 20:52 Christian Grothoff Status resolved => closed