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

saving a layer with boolean fields fails #24969

Closed
qgib opened this issue Aug 25, 2017 · 7 comments
Closed

saving a layer with boolean fields fails #24969

qgib opened this issue Aug 25, 2017 · 7 comments
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)

Comments

@qgib
Copy link
Contributor

qgib commented Aug 25, 2017

Author Name: Regis Haubourg (@haubourg)
Original Redmine Issue: 17070
Affected QGIS version: master
Redmine category:vectors
Assignee: Paul Blottiere


I have a postgres layer with a boolean field.
Save as gpkg fails in master with this message:

Export to vector file failed.
Error: unsupported type for field est_selective

using value maps substitution works.

@qgib
Copy link
Contributor Author

qgib commented Aug 25, 2017

Author Name: Regis Haubourg (@haubourg)


Using spatialite provider target produces the same error.

@qgib
Copy link
Contributor Author

qgib commented Aug 25, 2017

Author Name: Regis Haubourg (@haubourg)


In fact, shp are affected too, so all file types I suppose


  • subject was changed from saving a layer with boolean fields to gpkg fails to saving a layer with boolean fields fails
  • regression was changed from 0 to 1

@qgib
Copy link
Contributor Author

qgib commented Aug 26, 2017

Author Name: Giovanni Manghi (@gioman)


Does it work as expected on 2.18.* ?


  • category_id was changed from Data Provider/OGR to Vectors

@qgib
Copy link
Contributor Author

qgib commented Aug 28, 2017

Author Name: Regis Haubourg (@haubourg)


Yes, tested right now.
Boolean are converted to string fields with "f/t" values in it.
And BTW, saving takes ages in master when it's only a few seconds in release.

@qgib
Copy link
Contributor Author

qgib commented Aug 28, 2017

Author Name: Giovanni Manghi (@gioman)


And BTW, saving takes ages in master when it's only a few seconds in release.

better file a separate regression ticket.

@qgib
Copy link
Contributor Author

qgib commented Nov 8, 2017

Author Name: Paul Blottiere (Paul Blottiere)


  • assigned_to_id was configured as Paul Blottiere

@qgib
Copy link
Contributor Author

qgib commented Nov 15, 2017

Author Name: Paul Blottiere (Paul Blottiere)


Applied in changeset 3bbe71d.


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

@qgib qgib closed this as completed Nov 15, 2017
@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
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