Bug report #1500

Blank fieldnames in new vector layers

Added by Maxim Dubinin over 11 years ago. Updated over 10 years ago.

Status:Closed
Priority:Low
Assignee:Redmine Admin
Category:GUI
Affected QGIS version: Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied: Resolution:worksforme
Crashes QGIS or corrupts data: Copied to github as #:11560

Description

It is possible to create a new field of any type with empty name when creating a shapefile, guess this should not be possible.

History

#1 Updated by Redmine Admin over 11 years ago

  • Status changed from Open to In Progress

#2 Updated by Maxim Dubinin over 10 years ago

Any news on this bug? It still persists in 1.5 (34144244 (SVN r12954))

On top of that, user can create a field without setting length for text field, which will be set to 80 characters.

IMHO, this is not very intuitive, either 80 should be shown when field is created or warning message should be shown.

#3 Updated by Alexander Bruy over 10 years ago

  • Resolution set to worksforme
  • Status changed from In Progress to Closed

Seems it fixed. In 9b4e8c09 (SVN r13326) I can't create new field with empty name.

Also available in: Atom PDF