When a resource's title includes spaces, the COPY action raises the database error.
Steps to re-produce it
- Upload a vector file e.g States:
- Edit its title to something like: states test 1 through the metadata editor, or upload a metadata catalogue with a title which includes spaces
- After the edit, try to clone it