Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctif, ETQ Tech, je souhaite que la tache qui peuple les adresses normalisées des champs siret ne plante pas a cause de bad data sur les champs #10714

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/tasks/maintenance/populate_siret_value_json_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
def process(champ)
return if champ.etablissement.blank?
champ.update!(value_json: APIGeoService.parse_etablissement_address(champ.etablissement))
rescue ActiveRecord::RecordInvalid

Check warning on line 16 in app/tasks/maintenance/populate_siret_value_json_task.rb

View check run for this annotation

Codecov / codecov/patch

app/tasks/maintenance/populate_siret_value_json_task.rb#L16

Added line #L16 was not covered by tests
# noop, just a champ without dossier
end

def count
Expand Down
Loading