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

Rows of the attribute table seem to be duplicated when saving edits in a shapefile #23890

Closed
qgib opened this issue Dec 12, 2016 · 17 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Regression Something which used to work, but doesn't anymore Vectors Related to general vector layer handling (not specific data formats)
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Dec 12, 2016

Author Name: Jérôme Guélat (Jérôme Guélat)
Original Redmine Issue: 15974
Affected QGIS version: 2.18.4
Redmine category:vectors
Assignee: Alessandro Pasotti


Here's how to reproduce the bug:

  1. Create a new shapefile with a single column named id (as integer)
  2. Digitize a few features
  3. Open the attribute table and add values in the id column for each feature
  4. Stop editing (and save the edits)

The rows will be duplicated in the attribute table. Everything is ok if one closes and reopens the attribute table. This happens with QGIS 2.14.9 and 2.18.1.



Related issue(s): #23892 (relates)
Redmine related issue(s): 15976


@qgib
Copy link
Contributor Author

qgib commented Dec 20, 2016

Author Name: Andrew McAninch (@spaceof7)


I can confirm the same behaviour with a .dbf table in 2.18.2.

@qgib
Copy link
Contributor Author

qgib commented Jan 4, 2017

Author Name: Giovanni Manghi (@gioman)


  • category_id was configured as Vectors
  • priority_id was changed from Normal to Severe/Regression
  • fixed_version_id was configured as Version 2.14
  • version was changed from 2.18.0 to 2.14.9

@qgib
Copy link
Contributor Author

qgib commented Feb 27, 2017

Author Name: Giovanni Manghi (@gioman)


2.18.4 also affected.


  • fixed_version_id was changed from Version 2.14 to Version 2.18
  • version was changed from 2.14.9 to 2.18.4

@qgib
Copy link
Contributor Author

qgib commented Apr 21, 2017

Author Name: Giovanni Manghi (@gioman)


Adding a screencast.


  • 10889 was configured as out.ogv

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • regression was configured as 1

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • priority_id was changed from Severe/Regression to High

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0

@qgib
Copy link
Contributor Author

qgib commented May 3, 2017

Author Name: Alessandro Pasotti (@elpaso)


  • description was changed from Here's how to reproduce the bug:
  1. Create a new shapefile with a single column named id (as integer)
  2. Digitize a few features
  3. Open the attribute table and add values in the id column for each feature
  4. Stop editing (and save the edits)

The rows will be duplicated in the attribute table. Everything is ok if one closes and reopens the attribute table. This happens with QGIS 2.14.9 and 2.18.1. to Here's how to reproduce the bug:

  1. Create a new shapefile with a single column named id (as integer)
  2. Digitize a few features
  3. Open the attribute table and add values in the id column for each feature
  4. Stop editing (and save the edits)

The rows will be duplicated in the attribute table. Everything is ok if one closes and reopens the attribute table. This happens with QGIS 2.14.9 and 2.18.1.

  • assigned_to_id was configured as Alessandro Pasotti

@qgib
Copy link
Contributor Author

qgib commented May 10, 2017

Author Name: Alessandro Pasotti (@elpaso)


Fixed in master with 212acc1
Now working on 2.18 ...


  • resolution was changed from to fixed/implemented
  • status_id was changed from Open to In Progress
  • pull_request_patch_supplied was changed from 0 to 1

@qgib
Copy link
Contributor Author

qgib commented May 10, 2017

Author Name: Alessandro Pasotti (@elpaso)


I cannot reproduce on 2.18.7 (latest release-2_18 branch)

@qgib
Copy link
Contributor Author

qgib commented May 10, 2017

Author Name: Giovanni Manghi (@gioman)


Screencast attached.


  • 10947 was configured as out.ogv

@qgib
Copy link
Contributor Author

qgib commented May 10, 2017

Author Name: Alessandro Pasotti (@elpaso)


Thanks to Giovanni, we noticed that apparently this bug needs GDAL 2+ to show up on 2.18.x

@qgib
Copy link
Contributor Author

qgib commented May 10, 2017

Author Name: Alessandro Pasotti (@elpaso)


Fixed in 2.18 too: 09ef947


  • status_id was changed from In Progress to Closed

@qgib qgib closed this as completed May 10, 2017
@qgib
Copy link
Contributor Author

qgib commented May 11, 2017

Author Name: Ger CO (Ger CO)


Alessandro Pasotti wrote:

Fixed in 2.18 too: 09ef947

Thanks a lot for the fix. Highly appreciated.
In Master using the very recent build I still can see the feature count on the top of the attribute table to display a wrong number after edits are saved.
The rows don´t duplicate anymore though. Is this minor issue potentially related to the issue fixed?

@qgib
Copy link
Contributor Author

qgib commented May 12, 2017

Author Name: Luigi Pirelli (@luipir)


Is it a different issue? it has been reported? if no, can you file it?

Ger CO wrote:

In Master using the very recent build I still can see the feature count on the top of the attribute table to display a wrong number after edits are saved.
The rows don´t duplicate anymore though. Is this minor issue potentially related to the issue fixed?

@qgib
Copy link
Contributor Author

qgib commented May 12, 2017

Author Name: Luigi Pirelli (@luipir)


Ger CO wrote:

The rows don´t duplicate anymore though. Is this minor issue potentially related to the issue fixed?

tnx for the test :)

@qgib
Copy link
Contributor Author

qgib commented May 19, 2017

Author Name: Jürgen Fischer (@jef-n)


@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Vectors Related to general vector layer handling (not specific data formats) Regression Something which used to work, but doesn't anymore labels May 25, 2019
@qgib qgib added this to the Version 2.18 milestone May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Regression Something which used to work, but doesn't anymore Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant