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

Quick calculation bar causes QGIS crash when updating fields with aliases. #24212

Closed
qgib opened this issue Mar 7, 2017 · 15 comments
Closed
Labels
Attribute Table Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Regression Something which used to work, but doesn't anymore
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Mar 7, 2017

Author Name: Lukasz Debek (Lukasz Debek)
Original Redmine Issue: 16302
Affected QGIS version: 2.18.4
Redmine category:attribute_table


Using quick calculation bar for updating fields with aliases causes QGIS crash.
To reproduce the problem add a layer (checked with shapefiles and postgis layers), set an alias for any field and try to update values inside this field using the quick calculation bar.
Checked on QGIS 2.18.4 and 2.18.3 from OSGeo4W 64bit installer.



Related issue(s): #24097 (relates)
Redmine related issue(s): 16187


@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2017

Author Name: Giovanni Manghi (@gioman)


sorry to ask, what do you mean with "quick calculator"?


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2017

Author Name: Saber Razmjooei (@saberraz)


Hi Gio,

It is top of the attribute table.


  • status_id was changed from Feedback to Open

@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2017

Author Name: Giovanni Manghi (@gioman)


Saber Razmjooei wrote:

Hi Gio,

It is top of the attribute table.

then I cannot confirm.
Please attach sample project/data and expect operations that lead to the crash.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2017

Author Name: Lukasz Debek (Lukasz Debek)


Giovanni Manghi wrote:

sorry to ask, what do you mean with "quick calculator"?

I mean bar that shows up in attribute table when you start edit session.


  • 10798 was configured as qcb.jpg

@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2017

Author Name: Giovanni Manghi (@gioman)


Lukasz Debek wrote:

Giovanni Manghi wrote:

sorry to ask, what do you mean with "quick calculator"?

I mean bar that shows up in attribute table when you start edit session.

right, then is confirmed.


  • priority_id was changed from High to Severe/Regression
  • status_id was changed from Feedback to Open

@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2017

Author Name: Saber Razmjooei (@saberraz)


Here is an example file:
Contin. column is aliased to Continent.

  1. Open the attribute for europe
  2. Make it editable
  3. Try to update Continent column

Segmentation fault in terminal.

I can also confirm it in master.


  • operating_system was changed from Windows 7 to
  • 10799 was configured as alias_update.zip
  • os_version was changed from x64 to

@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2017

Author Name: Giovanni Manghi (@gioman)


possibly related to #24097

@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 12, 2017

Author Name: Matthias Kuhn (@m-kuhn)


Pull request open #4543


  • description was changed from Using quick calculation bar for updating fields with aliases causes QGIS crash.
    To reproduce the problem add a layer (checked with shapefiles and postgis layers), set an alias for any field and try to update values inside this field using the quick calculation bar.
    Checked on QGIS 2.18.4 and 2.18.3 from OSGeo4W 64bit installer. to Using quick calculation bar for updating fields with aliases causes QGIS crash.
    To reproduce the problem add a layer (checked with shapefiles and postgis layers), set an alias for any field and try to update values inside this field using the quick calculation bar.
    Checked on QGIS 2.18.4 and 2.18.3 from OSGeo4W 64bit installer.

@qgib
Copy link
Contributor Author

qgib commented May 12, 2017

Author Name: Giovanni Manghi (@gioman)


  • pull_request_patch_supplied was changed from 0 to 1

@qgib
Copy link
Contributor Author

qgib commented May 12, 2017

Author Name: Anónimo (Anónimo)


Applied in changeset a0c6872.


  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented May 12, 2017

Author Name: Matthias Kuhn (@m-kuhn)


Only applied to master yet


  • status_id was changed from Closed to In Progress

@qgib
Copy link
Contributor Author

qgib commented May 12, 2017

Author Name: Anónimo (Anónimo)


Applied in changeset 477d1bd.


  • status_id was changed from In Progress to Closed

@qgib qgib closed this as completed May 12, 2017
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Attribute Table Crash/Data Corruption 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
Attribute Table Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant