Bug report #19958

Database manager allows one to create saved query with no name

Added by Lars Kellogg-Stedman about 6 years ago. Updated about 6 years ago.

Status:Closed
Priority:Normal
Assignee:Alessandro Pasotti
Category:DB Manager
Affected QGIS version:3.3(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27780

Description

It is possible to click on the "Save" button to create a saved SQL query even when no name is entered in the "Name" field. This creates a confusing empty entry in the list of saved queries.

Both the "Save" and "Delete" buttons should be inoperative if the Name field is empty.

Associated revisions

Revision c06c475b
Added by Alessandro Pasotti about 6 years ago

[db-manager] Update sql dialog buttons status

Fixes #19958 - Database manager allows one to create saved query with no name

History

#1 Updated by Alessandro Pasotti about 6 years ago

  • Assignee set to Alessandro Pasotti

#2 Updated by Alessandro Pasotti about 6 years ago

  • Pull Request or Patch supplied changed from No to Yes
  • Status changed from Open to In Progress

#3 Updated by Anonymous about 6 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF