[GeoNode-devel] CSV upload with column named "location" fails (new issue #3557)
j.doig at unsw.edu.au
Wed Jan 10 21:46:01 PST 2018
New bug tested on Geonode 2.4: in layers/upload, trying to upload a CSV file with a column named 'location' either fails with the message 'BAD REQUEST' in the page, or appears to hang and never finish uploading.
E.g. upload a CSV file containing just 1 record:
Geoserver.log explains that PostgreSQL is failing to create another 'location' column.
One option would be to check for that column name and gracefully exit with a message like:
"The attribute name 'location' is reserved. Please rename this attribute in your data before uploading again."
Raised a new Geonode issue #3557<https://github.com/GeoNode/geonode/issues/3557>.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the geonode-devel