GeoNode / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
https://geonode.org/
Other
1.41k stars 1.11k forks source link

Clone Ressource Feature Error #12381

Open obediobadiah opened 2 days ago

obediobadiah commented 2 days ago

Expected Behavior

I'm expecting to clone the ressource when I click on the clone menu

Actual Behavior

When clicking to clone the ressource I'm getting this error:

syntax error at or near \"-\"\nLINE 1: CREATE TABLE avalanche - district level_619defeb6fbc84ffb756...\n ^\n. Request: 99e835d7-09b0-4ab5-bd11-862b01808d3c. Request: 99e835d7-09b0-4ab5-bd11-862b01808d3c

The name of my ressource is Avalanche - District Level

Screenshot 2024-07-03 at 1 59 00 in the afternoon

Steps to Reproduce the Problem

  1. On the catalog Page
  2. (On the ressource card ) Click on the Right Top corner menu
  3. Then Click on Clone

Specifications

giohappy commented 2 days ago

What kind of resource are you cloning?

obediobadiah commented 2 days ago

What kind of resource are you cloning?

Specialy a Dataset

mattiagiupponi commented 1 day ago

Can you share the dataset? I guess here the issue is the name itslef of the dataset and ogr2ogr is not able to create the table: image