Skip to content

Commit

Permalink
[Fixes #9562] Inconsistency information on layer upload along with an…
Browse files Browse the repository at this point in the history
… XML (#9563)
  • Loading branch information
mattiagiupponi authored Jul 1, 2022
1 parent 3f216a8 commit 6124889
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions geonode/upload/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,9 +759,6 @@ def final_step(upload_session, user, charset="UTF-8", layer_id=None):
layer_uuid = None

if saved_layer:
_vals['name'] = saved_layer.name
_log(f'Django record for [{saved_layer.name}] already exists, updating with vals: {_vals}')
Layer.objects.filter(id=saved_layer.id).update(**_vals)
saved_layer.refresh_from_db()
return saved_layer
else:
Expand Down

0 comments on commit 6124889

Please sign in to comment.