-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
regression : can't create a feature #16156
Comments
Author Name: Nathan Woodrow (@NathanW2) We are going to need some more information then that in order to track down the issue. What type of layer are you using? |
Author Name: Philippe Dorelon (Philippe Dorelon) In fact, the bug appears when there is a join on the edited layer. I tested it with shape files, spatialite files on points and lines.
|
Author Name: Philippe Dorelon (Philippe Dorelon) I think the problem is in @qgsvectorlayereditbuffer.cpp : QgsVectorLayerEditBuffer::addFeature@
@f.attributes().count()@ includes @joinfields@, @layerFieldCount@ doesn't. With something like that, it works:
|
Author Name: Denis Rouzaud (@3nids) Does it make sense to have all joined fields in the edit form as they won't be used? |
Author Name: Denis Rouzaud (@3nids) Should be fixed by these two requests: Reply from Minoru: |
Author Name: Nathan Woodrow (@NathanW2) What is the status of this? |
Author Name: Nathan Woodrow (@NathanW2) Fixed in changeset "aca3dfaf77a227e95c67a5dabbe67887b30a53fe".
|
Author Name: Philippe Dorelon (Philippe Dorelon)
Original Redmine Issue: 7072
Affected QGIS version: master
Redmine category:vectors
In master revision (94491b8),
it seems impossible to create a feature with geometry: the new object disappears after its creation.
Thanks all
The text was updated successfully, but these errors were encountered: