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

Weird behavior when creating columns from a joined table #17927

Closed
qgib opened this issue Jan 10, 2014 · 5 comments
Closed

Weird behavior when creating columns from a joined table #17927

qgib opened this issue Jan 10, 2014 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Jan 10, 2014

Author Name: Guillaume Larocque (@glaroc)
Original Redmine Issue: 9320
Affected QGIS version: 2.0.1
Redmine category:vectors
Assignee: Jürgen Fischer


Steps to reproduce:

1- Join the layer named 'Joined_Table.csv' to the layer named 'BBS_Routes' using the shared routes column.
2- Enter edit mode in the attribute table and try to create a new column (Integer, width 10) simply copying values from column year1980. This gives a column containing only NULLs while it should give NULLs only in rows that contain NULLS in the year1980 column. If you update the column using 'update existing field', while keeping the same formula, the NULLs disappear. Now create a new column that copies values of column year1994. This works as expected.

I can confirm that this was working properly in pre 2.0 versions of QGIS. I have tried various combinations of column names, column sums, etc. and I can't explain what's going on. I have seen this behavior on Windows 7 and Ubuntu, and on various other machines.


@qgib
Copy link
Contributor Author

qgib commented Jan 10, 2014

Author Name: Giovanni Manghi (@gioman)


tagging this as a regression at least until I will have time to test if is still an issue on QGIS master.


  • fixed_version_id was configured as Future Release - High Priority
  • category_id was configured as Vectors
  • priority_id was changed from Normal to Severe/Regression

@qgib
Copy link
Contributor Author

qgib commented Jan 15, 2014

Author Name: Alexander Bruy (@alexbruy)


Confirmed on Linux with QGIS master 48afac3

@qgib
Copy link
Contributor Author

qgib commented Jan 30, 2014

Author Name: Paolo Cavallini (@pcav)


  • subject was changed from Weird behavior when creating columns from a joined table. to Weird behavior when creating columns from a joined table

@qgib
Copy link
Contributor Author

qgib commented Feb 11, 2014

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


  • assigned_to_id was configured as Jürgen Fischer
  • fixed_version_id was changed from Future Release - High Priority to Version 2.2

@qgib
Copy link
Contributor Author

qgib commented Feb 11, 2014

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


Fixed in changeset "9d7ef65a2dd4d5a4b07e37af01cff04146bca34e".


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats) labels May 24, 2019
@qgib qgib added this to the Version 2.2 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 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! Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant