Bug report #11175

GetProjectSettings reports the layer's attributes type as QString instead of string

Added by Alessandro Pasotti almost 6 years ago. Updated over 1 year ago.

Category:QGIS Server
Affected QGIS version:2.4.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:19489


I'm not sure if this is a problem with QString only or if this affects other types too. It seems that that string is generated calling QVariant::typeToName which returns a string representation of the QVariant instance.
The attributes are used to build the layer properties dialog in QWC an probably other clients, of course we can do a search/replace in the client but I wonder if doing it in the server wold be a better approach.


#1 Updated by Giovanni Manghi over 3 years ago

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

#2 Updated by Giovanni Manghi over 1 year ago

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

Also available in: Atom PDF