Skip to content

Commit

Permalink
[Fixes #12368] Fix raster replace
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi committed Oct 15, 2024
1 parent 1814b66 commit 6f7eee0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geonode/upload/handlers/common/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ def import_resource(self, files: dict, execution_id: str, **kwargs) -> str:
if not dataset:
raise ImportException("The dataset selected for the ovewrite does not exists")
alternate = dataset.alternate.split(":")[-1]
orchestrator.update_execution_request_obj(_exec, {"geonode_resource": dataset})
else:
user_datasets = Dataset.objects.filter(owner=_exec.user, alternate=f"{workspace.name}:{layer_name}")

Expand Down

0 comments on commit 6f7eee0

Please sign in to comment.