Bug report #17724

Crash on clicking ADD in Virtual Layer dialogue without defining a layer

Added by Ross McDonald over 6 years ago. Updated about 6 years ago.

Status:Closed
Priority:High
Assignee:Alessandro Pasotti
Category:Data Source Manager
Affected QGIS version:master Regression?:Yes
Operating System:Windows 7 enterprise 64 bit Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:Yes Copied to github as #:25620

Description

In latest master (19/12/2017) QGIS crashes if I click the Add button on the dialogue box without defining a virtual layer. In other Add Data dialogues the Add button is disabled until a layer is selected.

qgis_virtual_layer_crash_report.txt Magnifier (4.21 KB) Ross McDonald, 2017-12-19 05:53 PM

Associated revisions

Revision 385d0ef9
Added by Alessandro Pasotti over 6 years ago

[bugfix] Fix crash in virtual layers dlg when adding

Fixes #17724 Crash on clicking ADD in Virtual Layer
dialogue without defining a layer

A proper implementation should handle the Add button
state when a virtual layer definition is available.

History

#1 Updated by Harrissou Santanna over 6 years ago

  • Regression? changed from No to Yes
  • Priority changed from Normal to High

I can confirm. It was reported in #17489 (and was fixed !?)
cc @elpaso

#2 Updated by Alessandro Pasotti over 6 years ago

  • Assignee set to Alessandro Pasotti

#3 Updated by Anonymous over 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#4 Updated by Giovanni Manghi about 6 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF