Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit error : Unable to commit changes for Dataset layer #106

Open
image80 opened this issue Mar 25, 2022 · 1 comment
Open

Commit error : Unable to commit changes for Dataset layer #106

image80 opened this issue Mar 25, 2022 · 1 comment
Labels
question Further information is requested

Comments

@image80
Copy link

image80 commented Mar 25, 2022

Good morning,
I work with the last pgmetadata plugin : 1.1.

I'm not able to save edits. When i add a new feature into Dataset, there is an error message saying :

"WARNING Commit errors: Unable to commit changes for Dataset layer"
ERROR: 1 feature(s) not added.
Data provider error:
               PostGIS error when adding feature: ERROR: Duplicate key value breaks unique constraint 'dataset_table_name_schema_name_key'
               DETAIL: The key "(table_name, schema_name)=(CigeoZH_Po_20220228, andra_naturel)" already exists. 

If anyone could help me? Thanks a lot.

@Gustry
Copy link
Member

Gustry commented Mar 25, 2022

The error is duplicated entry for table "CigeoZH_Po_20220228" and schema "andra_naturel".
You should check in your dataset table for the other duplicated row.
Only a single metadata sheet is possible per layer.

@Gustry Gustry added the question Further information is requested label Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants