Bug report #11175
GetProjectSettings reports the layer's attributes type as QString instead of string
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
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 |
Description
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.
History
#1 Updated by Giovanni Manghi over 7 years ago
- Easy fix? set to No
- Regression? set to No
#2 Updated by Giovanni Manghi almost 6 years ago
- Resolution set to end of life
- Status changed from Open to Closed
End of life notice: QGIS 2.18 LTR
Source:
http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/