Bug report #18989
Value for Optional ParameterString can't be defined to None or NULL. It is translated to empty string.
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Processing/Core | ||
Affected QGIS version: | 2.18.19 | Regression?: | Yes |
Operating System: | All | Easy fix?: | Yes |
Pull Request or Patch supplied: | Yes | Resolution: | wontfix |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 26820 |
Description
In release-2_14, a ParameterString value can be None. So for the R scripts provider, the value is translated to NULL.
In release-2_18, a ParameterString value can't be None, it is translated to empty string. So for the R scripts provider, the value stay an empty string.
So all the R scripts wrote for release-2_14 with optional ParameterString, has to be rewrite to be adapted to this changes.
History
#1 Updated by René-Luc ReLuc over 6 years ago
Patch supplied: https://github.com/qgis/QGIS/pull/6943
#2 Updated by Alexander Bruy almost 6 years ago
- Resolution set to wontfix
- Status changed from Open to Closed
As discussed in the PR there was an agreement to leave it as is.