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.
1 parent 2ca4ee5 commit 39bce94Copy full SHA for 39bce94
src/server/services/wms/qgswmsrenderer.cpp
@@ -1341,7 +1341,7 @@ namespace QgsWms
1341
}
1342
1343
1344
- if ( !validLayer )
+ if ( !validLayer && !mNicknameLayers.contains( queryLayer ) )
1345
{
1346
QString msg = QObject::tr( "Layer '%1' not found" ).arg( queryLayer );
1347
throw QgsBadRequestException( QStringLiteral( "LayerNotDefined" ), msg );
0 commit comments