I noticed a strange behavior in layers created with DB manager. Tested it in QGIS 2.6.1 and QGIS 2.12.0
In QGIS 2.6.1. When i create a layer based on a sql query with the setting "Avoid selecting by feature id" turned off, i cannot start editing session on this new layer. The "start editing" button is inactive. When i create a layer based on the same sql query with "Avoid selecting by feature id" turned on, the editing button in QGIS gets activated, i can start editing session but "Add feature" and "Save layer edits" buttons stay inactive. I can move any features or nodes on a feature, but still i cannot save the edits.
In QGIS 2.12.0 There is no difference, if i set "Avoid selecting by feature id" on or off, editing button is inactive and i cannot start editing session.
Is it a bug, am i doing something wrong or is QGIS ment to behave like this? And what is this "Avoid selecting by feature id" option for?
O, and the data i want to edit comes from a PostGis database.
أكثر...
In QGIS 2.6.1. When i create a layer based on a sql query with the setting "Avoid selecting by feature id" turned off, i cannot start editing session on this new layer. The "start editing" button is inactive. When i create a layer based on the same sql query with "Avoid selecting by feature id" turned on, the editing button in QGIS gets activated, i can start editing session but "Add feature" and "Save layer edits" buttons stay inactive. I can move any features or nodes on a feature, but still i cannot save the edits.
In QGIS 2.12.0 There is no difference, if i set "Avoid selecting by feature id" on or off, editing button is inactive and i cannot start editing session.
Is it a bug, am i doing something wrong or is QGIS ment to behave like this? And what is this "Avoid selecting by feature id" option for?
O, and the data i want to edit comes from a PostGis database.
أكثر...