Bug report #16259

Processing Refactor Fields tool: some field types appear twice in the list

Added by Harrissou Santanna about 7 years ago. Updated over 6 years ago.

Assignee:Victor Olaya
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:24169


In the Processing tool Refactor Fields, using a shapefile, I get twice "Double" and "Date" values in the Type column drop-down.

master f354a85, Windows 10


#1 Updated by Giovanni Manghi about 7 years ago

It affects also 2.18 and 2.14, so it seems never worked 100% ok.

#2 Updated by Victor Olaya about 7 years ago

Looks like it's intentional

fieldTypes = OrderedDict([
(QVariant.Int, "Integer"),
(QVariant.Double, "Double"),
(QVariant.String, "String"),
(QVariant.DateTime, "Date"),
(QVariant.LongLong, "Double"),
(QVariant.Date, "Date")])

I guess that Arnaud Morvan is the one that can give more info about that, since it is his work. Reassining to him

#3 Updated by Giovanni Manghi about 7 years ago

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

#4 Updated by Alexander Bruy over 6 years ago

  • Status changed from Open to Closed
  • Description updated (diff)
  • Resolution set to fixed/implemented

Already fixed in master.

Also available in: Atom PDF