toulouse-axel: fix possible days endpoint (#78903) #288

Merged
lguerin merged 1 commits from wip/78903-toulouse-axel-fix-possible-days into main 2023-06-30 08:58:50 +02:00
Owner

La spec dit que JOUR doit contenir 5 caractères, 0 ou 1, le xsd dit:
<xsd:element name="JOUR" type="xsd:string"/>

La spec dit que JOUR doit contenir 5 caractères, 0 ou 1, le xsd dit: `<xsd:element name="JOUR" type="xsd:string"/>`
fpeters reviewed 2023-06-29 18:36:19 +02:00
@ -3344,0 +3379,4 @@
<ACTIVITE>
<ANNEEREFERENCE>2019</ANNEEREFERENCE>
<IDACTIVITE>A19P1M1</IDACTIVITE>
<JOUR>foo</JOUR>
Owner

Dans ce qu'ils envoient, (j'ai du passer par une trace par email, dans sentry la valeur de booking n'était pas présente), j'ai

{'ACTIVITE': [{'ANNEEREFERENCE': '2022',
               'IDACTIVITE': 'A22P1M1JOL',
               'JOUR': '2'},
              {'ANNEEREFERENCE': '2022',
               'IDACTIVITE': 'A22P1M2JOL',
               'JOUR': '2'},
              {'ANNEEREFERENCE': '2022',
               'IDACTIVITE': 'A22P1M3JOL',
               'JOUR': '2'},
              {'ANNEEREFERENCE': '2022',
               'IDACTIVITE': 'A22P1M4JOL',
               'JOUR': '2'}],
 'IDPERSONNE': '825717'}

Plutôt que "foo" qui ne correspond à rien et posé ici dans les tests, tu pourrais mettre l'exemple ici, avec un commentaire,

        <JOUR>2</JOUR>  <!-- invalid value returned by axel, five digits are required -->
Dans ce qu'ils envoient, (j'ai du passer par une trace par email, dans sentry la valeur de booking n'était pas présente), j'ai ``` {'ACTIVITE': [{'ANNEEREFERENCE': '2022', 'IDACTIVITE': 'A22P1M1JOL', 'JOUR': '2'}, {'ANNEEREFERENCE': '2022', 'IDACTIVITE': 'A22P1M2JOL', 'JOUR': '2'}, {'ANNEEREFERENCE': '2022', 'IDACTIVITE': 'A22P1M3JOL', 'JOUR': '2'}, {'ANNEEREFERENCE': '2022', 'IDACTIVITE': 'A22P1M4JOL', 'JOUR': '2'}], 'IDPERSONNE': '825717'} ``` Plutôt que "foo" qui ne correspond à rien et posé ici dans les tests, tu pourrais mettre l'exemple ici, avec un commentaire, ``` <JOUR>2</JOUR> <!-- invalid value returned by axel, five digits are required --> ```
Author
Owner

ok

ok
lguerin marked this conversation as resolved
lguerin force-pushed wip/78903-toulouse-axel-fix-possible-days from b50ab3f971 to f928a10fc5 2023-06-29 18:59:15 +02:00 Compare
fpeters approved these changes 2023-06-29 19:28:43 +02:00
lguerin merged commit f928a10fc5 into main 2023-06-30 08:58:50 +02:00
lguerin deleted branch wip/78903-toulouse-axel-fix-possible-days 2023-06-30 08:58:51 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: entrouvert/passerelle#288
No description provided.