Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX][QGIS Server] No flags in QgsFeatureRequest if expression nee…
…ds geometry
- Loading branch information
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74f49dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rldhont which provider did you encounter this with? Imho it should be fixed in the provider itself - eg: https://github.com/qgis/QGIS/blob/master/src/providers/postgres/qgspostgresfeatureiterator.cpp#L101
I could have sworn I added a provider suite test covering this, but I must be mistaken...
74f49dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually I just double checked and it is - see https://github.com/qgis/QGIS/blob/master/tests/src/python/providertestbase.py#L100 and https://github.com/qgis/QGIS/blob/master/tests/src/python/providertestbase.py#L200
So this case should already be handled in core/providers. Can you provide more details as to how you experienced this issue?
74f49dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @nyalldawson, here is the expression:
it comes from this OGC Filter:
It failed on ESRI Shapefile and successed on Spatialite with version 2.14