Bug report #4914

field calculator: it allows compute new columns with no name

Added by Giovanni Manghi about 12 years ago. Updated about 12 years ago.

Status:Closed
Priority:Low
Assignee:Nathan Woodrow
Category:Vectors
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:14721

Description

I'm not sure this is a bug, so eventually close this as invalid.

In the field calculator it is possible to create an expression without having to choose the name of the new column, nor choosing to update an existing one.

the result is that a new column is created, but it has no name.

Is this allowed?

Tested on master.

Associated revisions

Revision cc5c8a3b
Added by Nathan Woodrow about 12 years ago

Check for empty field name. Fixes #4914

History

#1 Updated by Nathan Woodrow about 12 years ago

This is a bug. I might have introduced it when I did the latest refactor. I'll look into over the next few days.

#2 Updated by Anonymous about 12 years ago

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

Also available in: Atom PDF