View Issue Details

IDProjectCategoryView StatusLast Update
0010733Talermerchant portal webuipublic2025-12-21 20:46
ReporterChristian Grothoff Assigned Tosebasjm 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 Version1.3Fixed in Version1.3 
Summary0010733: 451 response not handled by spa for template instantiation
DescriptionWhen the SPA receives a 451 from POSTing a template, it fails with a "Reponse invalid" message instead of pointing the user to the KYC requirement.
Steps To ReproduceStart with fresh merchant backend. Run taler-merchant-dbinit, and start ONLY taler-merchant-httpd.
Create an instance.
Create a bank account.
Create a template.
Use the template with the "Test" button.
Set the amount to be > 1.
Kaboom.
Additional InformationHere, the exchange interaction (taler-merchant-kyccheck, taler-merchant-exchangekeyupdate) were deliberately not running, so the operation failed because no exchange was available to handle the amount.

Now, I used an existing DB (didn't fully reset the DB), so maybe some additional steps _could_ be needed to get here, but I think the above is enough and in any case, 451 handling is the issue.
TagsNo tags attached.
Attached Files
error-handling.png (121,664 bytes)   
error-handling.png (121,664 bytes)   

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

related to 0010737 closedChristian Grothoff 451 of template creation dont returns a PaymentDeniedLegallyResponse without urls 

Activities

sebasjm

2025-12-05 13:58

developer   ~0026787

the merchant spa has a handler for 451, invalid response means something else

sebasjm

2025-12-05 14:05

developer   ~0026788

the problem is that PaymentDeniedLegallyResponse is expecting exchange_base_urls

This can rendered on "developer mode" under personalization.

I will use this issue to improve the message for the normal user I will also move out the developer mode of the personalization profile so you will be able to see this type of message to help debugging without moving out from the profile setting you are testing.
image.png (65,243 bytes)   
image.png (65,243 bytes)   

sebasjm

2025-12-05 14:20

developer   ~0026789

now the codec will convert the missing exchange_base_urls into empty list for compatibility
and this is how it looks
image-2.png (65,312 bytes)   
image-2.png (65,312 bytes)   

sebasjm

2025-12-08 16:21

developer   ~0026822

spa is handling this correctly now, with a workaround

dev tool issue here 0010743

Issue History

Date ModifiedUsernameFieldChange
2025-12-05 10:08Christian GrothoffNew Issue
2025-12-05 10:08Christian GrothoffStatusnew => assigned
2025-12-05 10:08Christian GrothoffAssigned To => sebasjm
2025-12-05 10:08Christian GrothoffFile Added: error-handling.png
2025-12-05 13:58sebasjmNote Added: 0026787
2025-12-05 14:05sebasjmNote Added: 0026788
2025-12-05 14:05sebasjmFile Added: image.png
2025-12-05 14:10sebasjmRelationship addedrelated to 0010737
2025-12-05 14:20sebasjmNote Added: 0026789
2025-12-05 14:20sebasjmFile Added: image-2.png
2025-12-08 16:21sebasjmStatusassigned => informing
2025-12-08 16:21sebasjmResolutionopen => fixed
2025-12-08 16:21sebasjmNote Added: 0026822
2025-12-15 10:45Christian GrothoffTarget Version1.5 => 1.3
2025-12-15 10:46Christian GrothoffFixed in Version => 1.3
2025-12-21 20:46Christian GrothoffStatusinforming => closed
2026-08-23 14:18Florian DoldCategorymerchant backoffice SPA => merchant portal webui