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

Bookkeeping problem in attribute table #25913

Closed
qgib opened this issue Feb 1, 2018 · 7 comments
Closed

Bookkeeping problem in attribute table #25913

qgib opened this issue Feb 1, 2018 · 7 comments
Labels
Attribute Table Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@qgib
Copy link
Contributor

qgib commented Feb 1, 2018

Author Name: Daan Goedkoop (@dgoedkoop)
Original Redmine Issue: 18017
Affected QGIS version: master
Redmine category:attribute_table
Assignee: Alessandro Pasotti


Sometimes when you delete features, twice as many disappear from the attribute table.

Steps to reproduce:

  1. Add the attached layer to a new project
  2. Open the attribute table
  3. Enable editing
  4. Select the first row (see attached screenshot1.png)
  5. Press "delete", now 2 rows have disappeared (see attached screenshot2.png)

For the cause of this, see my comments to this PR:
#6185

Possible solution:
#6191



Related issue(s): #25912 (relates)
Redmine related issue(s): 18016


@qgib
Copy link
Contributor Author

qgib commented Feb 1, 2018

Author Name: Alessandro Pasotti (@elpaso)


  • assigned_to_id was configured as Alessandro Pasotti

@qgib
Copy link
Contributor Author

qgib commented Feb 1, 2018

Author Name: Daan Goedkoop (@dgoedkoop)


P.S. I used the daily snapshot. I see that today the default widget in some cases has been changed from a range widget to a normal text editor widget. However, even if using the range widget, I think this bug should not occur.

@qgib
Copy link
Contributor Author

qgib commented Feb 2, 2018

Author Name: Alessandro Pasotti (@elpaso)


I think that with today's fixes and your PR the issue can be closed.

Please test it.


  • status_id was changed from Open to In Progress

@qgib
Copy link
Contributor Author

qgib commented Feb 2, 2018

Author Name: Alessandro Pasotti (@elpaso)


@qgib
Copy link
Contributor Author

qgib commented Feb 3, 2018

Author Name: Daan Goedkoop (@dgoedkoop)


Looks good, thank you!

@qgib
Copy link
Contributor Author

qgib commented Feb 6, 2018

Author Name: Daan Goedkoop (@dgoedkoop)


Note: I cannot close these two bug reports myself!

@qgib
Copy link
Contributor Author

qgib commented Feb 6, 2018

Author Name: Harrissou Santanna (@DelazJ)


  • resolution was changed from to fixed/implemented
  • status_id was changed from In Progress to Closed

@qgib qgib closed this as completed Feb 6, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Attribute Table labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Attribute Table Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

1 participant