Bug report #16202

Updated by Nyall Dawson almost 3 years ago

Scope - Single Band Pseudocolor Renderer (qgssinglebandpseudocolorrendererwidget.cpp)

Exported color maps labels that contain commas are exported without enclosing the label within double quotes. Example output:

> _1,255,255,255,255,Label, with comma_

Importing color maps that contain labels with commas results in an error:

> _The following lines contain errors ..._ .

Manually adding double quotes to label and importing gives the same error.

To correct this problem a different column separator could be used or new logic written to output and parse text fields like a CSV file.