Inbound parsing : améliorer le matching #910
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Suite à #901
Quoi ?
Répare des soucis potentiels de détection entre la v0 et la v1.
Dans notre base de données, on a actuellement des
siae_encoded
avec le format_1aa4
, ce qui pourrait induire une v0 alors qu'ils sont en v1.On regarde donc la dernière chaine de caractère après le
_
.Et on évite que ce champ soit vide en le remplissant par le
siae.slug
si jamais lesiae.contact_full_name
est videPourquoi ?
Dans la v1, on définit
siae_encoded = siae.contact_full_name
, mais cela peut arriver quecontact_full_name
soit vide.