Skip to content

Commit

Permalink
Merge pull request #10704 from mfo/US/fix-populate-rna-maintenance-task
Browse files Browse the repository at this point in the history
Correctif: tache de maintenance des données RNA pour permettre la recherche
  • Loading branch information
colinux authored Aug 21, 2024
2 parents 9ed2de9 + 0ed5206 commit 4c1e67b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/tasks/maintenance/populate_rna_json_value_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ def process(champ)
data = APIEntreprise::RNAAdapter.new(champ.value, champ&.dossier&.procedure&.id).to_params
return if data.blank?
champ.update(value_json: APIGeoService.parse_rna_address(data['adresse']))
rescue URI::InvalidURIError
# some data raise this error
end

def count
Expand Down

0 comments on commit 4c1e67b

Please sign in to comment.