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

Attribute will be NULL, after using field calculator at attribute table #17047

Closed
qgib opened this issue Jul 8, 2013 · 4 comments
Closed

Attribute will be NULL, after using field calculator at attribute table #17047

qgib opened this issue Jul 8, 2013 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Jul 8, 2013

Author Name: KOSUKE ASAHI (KOSUKE ASAHI)
Original Redmine Issue: 8235
Affected QGIS version: master


Tested QGIS d37e03b installed from OSGeo4W.

  • Open ESRI Shapefile
  • Put over 10byte character in field calculator's output column at attribute table
  • Attribute in output column will be NULL, after save

We know in ESRI Shapefile specification we couldn't put column name over 10byte. Could you put any check logic before save?


Related issue(s): #16973 (relates)
Redmine related issue(s): 8145


@qgib
Copy link
Contributor Author

qgib commented Jul 8, 2013

Author Name: Matthias Kuhn (@m-kuhn)


  • priority_id was changed from Normal to Severe/Regression

@qgib
Copy link
Contributor Author

qgib commented Jul 9, 2013

Author Name: Nathan Woodrow (@NathanW2)


I can't reproduce here. My field name is truncated but no data loss.

@qgib
Copy link
Contributor Author

qgib commented Jul 9, 2013

Author Name: Matthias Kuhn (@m-kuhn)


Same as Nathan here. I have to commit twice (I think first time to truncate the field name, second to really commit) but no data loss.

Kosuke, can you add details about the field type that you are generating?

@qgib
Copy link
Contributor Author

qgib commented Jul 9, 2013

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


Fixed in changeset "7ccd3d0ab9c008791589d4cd4eedfc56370ea2a8".


  • status_id was changed from Open to Closed

@qgib qgib added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 24, 2019
@qgib qgib added this to the Version 2.0.0 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!
Projects
None yet
Development

No branches or pull requests

1 participant