Bug report #19817
[Processing] The [optional] tag is not displayed for string parameters
|Affected QGIS version:||3.3(master)||Regression?:||Yes|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||27641|
When filling the "Join attributes by field value" algorithm dialog, you can ignore the "Join field prefix", in which case redundant fields are automatically suffixed. I think that this parameter should then appear as optional in the GUI.
I guess it should be the same for the other "join attributes" algorithms
#2 Updated by Harrissou Santanna almost 3 years ago
From what I can see, the "optional" argument seems already set for the parameter. See:
https://github.com/qgis/QGIS/blob/0d200623b1944c66fdfb7f6f303adbc6c20fcc2e/src/analysis/processing/qgsalgorithmjoinbyattribute.cpp#L76 or https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/qgis/SpatialJoin.py#L124
Looks like the issue is elsewhere and this is beyond my skills...
#4 Updated by Harrissou Santanna almost 3 years ago
- Priority changed from Normal to High
- Regression? changed from No to Yes
- Subject changed from "Join field prefix" in the "Join attributes by field value" should be optional (?) to [Processing] The [optional] tag is not displayed for string parameters
Found many other examples. Flags it as a regression.