Bug report #11189

No shp edit mode when query used?

Added by James Harvey almost 10 years ago. Updated almost 10 years ago.

Affected QGIS version:2.4.0 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:up/downstream
Crashes QGIS or corrupts data:No Copied to github as #:19501


I am using a feature subset query that i can't edit via the query builder. I am using rule based layers as well, but I noticed that with this combination I cannot edit the SHP file - I wanted to do a copy and paste from another SHP file. Is this done for any reason or can editing be supported with this mode?

At the moment my only work around is to open the files without these queries attached and then do a copy and paste and then save on them.

Unsure if this is a bug or a feature request.

Related issues

Duplicated by QGIS Application - Bug report #11196: Filtered layers editing misbehaving Closed 2014-09-12
Duplicated by QGIS Application - Bug report #17686: filter does not allow data modification Closed 2017-12-12


#1 Updated by Nathan Woodrow almost 10 years ago

  • Resolution set to up/downstream
  • Status changed from Open to Closed

Unfortunately this is a limitation with the OGR driver. Once you set a filter on a layer we loose edit ability.

#3 Updated by Jürgen Fischer over 6 years ago

Also available in: Atom PDF