View Issue Details

IDProjectCategoryView StatusLast Update
0007395Talertaler-merchant-demospublic2022-11-04 19:52
ReporterChristian Grothoff Assigned ToMS Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

MS

2022-10-17 18: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 09: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 11:50

reporter   ~0019342

Fixed here: a80b6a5d8eada7c9d1...

Issue History

Date ModifiedUsernameFieldChange
2022-10-17 18:08Christian GrothoffNew Issue
2022-10-17 18:08Christian GrothoffStatusnew => assigned
2022-10-17 18:08Christian GrothoffAssigned To => MS
2022-10-17 18:25MSNote Added: 0019217
2022-10-20 09:24Christian GrothoffNote Added: 0019252
2022-11-02 11:50MSNote Added: 0019342
2022-11-02 11:50MSStatusassigned => informing
2022-11-02 11:50MSResolutionopen => fixed
2022-11-04 19:52Christian GrothoffStatusinforming => closed
2026-08-23 14:16Florian DoldCategoryMerchant frontends (Python3) => taler-merchant-demos