Bug report #14205
Geopackage edits discarded whith style display
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||22207|
Dear QGis maintainers,
I ran this morning in a pretty annoying behaviour while editing Geopackage geometries.
I can edit the polygons since they have no particular style (uncategorized style or unique symbol). If the polygons are displayed following a rule (for example the value of a field, categorized display cf style file) the geometry cannot be edited anymore: all the changes are discarded when saving changes or toggling "Edit".
Tested/reproductible on current stable (2.12.3) and tonight's Master (8dafa63) on Win7.
Please find attached the correponding gpkg file and its associated style file to support my description.
#1 Updated by Giovanni Manghi over 3 years ago
- Status changed from Open to Feedback
- Category set to Vectors
I cannot confirm: your style is based on the column "Type" and you created two classes with the values "Actuel" and "Extensions". When you digitize new features if you don't give the proper attribute (Actuel or Extension) than is normal that your features will not show. I just tested (on master on both Linux and Windows) and even if not showing the new features are correctly saved.
#2 Updated by Julien K over 3 years ago
sorry if my report was unclear. My concern isn't about new polygons - I'm aware they will not be displayed if they don't meet the rule on the column "Type" - but about the modification of existing ones: I tried to modify the shape of one existing polygon with the node tool and when pressing "Save" the points that have been modified moved back to their original place.