View Issue Details

IDProjectCategoryView StatusLast Update
0009905Talerexchange AML backoffice (SPA)public2025-05-14 00:35
ReporterChristian Grothoff Assigned Tosebasjm  
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version1.0 stretch goals 
Summary0009905: cannot enter multi-line values in context
DescriptionThe ADDRESS_LINES for the "challenger-postal-form-context" must be multi-line capable, as the post office expects the
zip code and city on a new line. Right now, the context ONLY allows entering single-value lines.

We should probably have a mode to enable "raw" JSON data entry while we are at it, as we can't know what is actually the type of a generic item:
A context may require *typed* json, and '{"field":"true"}' is not the same as '{"field":true}' and '{"field":"1"}' is not the same as '{"field":1}'.

Note that enabling 'raw' entry for multi-line is not nice (how do I type the newline?), so maybe 2 modes: multi-line (includes single-line!) or raw JSON.

Naturally, IF the SPA "understands" a particular form (like "challenger-postal-from-context"), then it makes sense to actually ask for exactly the right fields with the right types and nice labels automatically.
TagsNo tags attached.

Relationships

child of 0008155 confirmed acceptance testing of SPA with MG 

Activities

sebasjm

2025-05-14 00:35

developer   ~0024899

I added a type field to introduce anything else than string
the value field is also multi-line
There is a type check that validation if the value field is correct for the type.

Types allowed: string, number, boolean, json

41b06846b..5bfb673fe

Issue History

Date Modified Username Field Change
2025-05-08 14:24 Christian Grothoff New Issue
2025-05-08 14:24 Christian Grothoff Status new => assigned
2025-05-08 14:24 Christian Grothoff Assigned To => sebasjm
2025-05-08 22:15 Christian Grothoff Category merchant backoffice SPA => exchange AML backoffice (SPA)
2025-05-08 22:16 Christian Grothoff Relationship added child of 0008155
2025-05-14 00:35 sebasjm Status assigned => resolved
2025-05-14 00:35 sebasjm Resolution open => fixed
2025-05-14 00:35 sebasjm Note Added: 0024899