Bug report #13487

QGIS allows to create tables with invalid field names

Added by Paolo Cavallini about 5 years ago. Updated over 1 year ago.

Status:Open
Priority:Normal
Assignee:-
Category:Attribute table
Affected QGIS version:3.0.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:21532

Description

QGIS allows you to create a dbf table (associated with a shp) with invalid column names (e.g. "1"). As a consequence, further commands may obviously fail. IMHO we shouldn't allow invalid names.
See e.g. http://forums.esri.com/Thread.asp?c=93&f=988&t=56672

History

#1 Updated by Giovanni Manghi over 3 years ago

  • Regression? set to No
  • Easy fix? set to No

#2 Updated by Paolo Cavallini over 2 years ago

  • Affected QGIS version changed from master to 3.0.0
  • Description updated (diff)

Also accented characters, see #15604
Still true in QGIS 3

#3 Updated by Denis Rouzaud about 2 years ago

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

#4 Updated by Denis Rouzaud about 2 years ago

  • Status changed from Closed to Open

wrong commit message....

#5 Updated by Giovanni Manghi over 1 year ago

  • Status changed from Open to Closed
  • Resolution set to end of life

#6 Updated by Giovanni Manghi over 1 year ago

  • Status changed from Closed to Open
  • Resolution deleted (end of life)

Also available in: Atom PDF