We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
2 parents f6bc74c + 558b8d3 commit 37bc07aCopy full SHA for 37bc07a
src/core/processing/qgsprocessingparameters.cpp
@@ -391,7 +391,7 @@ QString QgsProcessingParameters::parameterAsOutputLayer( const QgsProcessingPara
391
{
392
dest = val.value< QgsProperty >().valueAsString( context.expressionContext(), definition->defaultValue().toString() );
393
}
394
- else if ( !val.isValid() || val.toString().isEmpty() )
+ else if ( definition && ( !val.isValid() || val.toString().isEmpty() ) )
395
396
// fall back to default
397
dest = definition->defaultValue().toString();
0 commit comments