[Server][WFS] Null field value in GML has to be empty string

This commit is contained in:
rldhont 2018-11-23 11:45:39 +01:00
parent f94d08d330
commit 0e5718d2ef

View File

@ -1455,7 +1455,7 @@ namespace QgsWfs
QString encodeValueToText( const QVariant &value, const QgsEditorWidgetSetup &setup )
{
if ( value.isNull() )
return QStringLiteral( "null" );
return QString();
if ( setup.type() == QStringLiteral( "DateTime" ) )
{