Bug report #14496

Editing with Definition Query requires restart

Added by Andrew Miller almost 9 years ago. Updated over 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Digitising
Affected QGIS version:2.10.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:not reproducable
Crashes QGIS or corrupts data:No Copied to github as #:22471

Description

When I edit a layer while a definition query is applied and then change the definition query to a different feature, I need to restart QGIS before I can use the edit node tool. I'm assuming this has something to do with the editor only indexing nodes on the first definition query.

In order to recreate the problem edit one feature on a layer with a definition query applied. Save your edits and stop editing session. Then change the query to a different feature and start a new editing session. It will return the error "Node tool: could not snap to a segment on the current layer."

I am running QGIS 2.10.1 64bit on 64bit Windows 7

Capture2.PNG (65.4 KB) Andrew Miller, 2016-03-15 08:57 AM

Capture.PNG (51 KB) Andrew Miller, 2016-03-15 08:57 AM

History

#1 Updated by Andrew Miller almost 9 years ago

#2 Updated by Giovanni Manghi over 8 years ago

  • Status changed from Open to Feedback
  • Category set to Digitising

what do you mean with "definition query"?

#3 Updated by Giovanni Manghi over 8 years ago

  • Resolution set to not reproducable
  • Status changed from Feedback to Closed

closing for lack of feedback, please reopen if necessary.

Also available in: Atom PDF