New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BBOXTests#invalidGeometryOperand expects exception #147
Comments
I cannot find any hint in the specification about the correct behavior.
I think the test should be removed. |
I agree regarding referenced chapter However, regarding Chapter 8.3 OWS Common (OGC 06-121r3) is referenced. Thus, the chapter exists.
Nevertheless, in my opinion the link to A.2.22.1.5.2 is not very clear. |
@ghobona What do you think of this issue? Shall the test be removed? |
Still, it is not clear for me whether this case (see description of issue) should lead to an exception (status code 400) or to an empty feature collection (status code 200). The specification does not clearly define this special case. The only abstract test coming close to this test was already referenced in #147 (comment). However, it does not clarify the described case. |
@cportele May we please have the SWG's view on this issue? |
It is a general issue with WFS/FES that the requirements are sometimes not clear. But let's have a look at this case: The test in the original comment references "ISO 19142:2010, 11.4: GetFeature - Exceptions" and "ISO 19143:2010, 8.3: Exceptions".
We can discuss this in the SWG meeting today. cc @pvretano |
@cportele Any further information from the SWG meeting? |
We discussed it briefly. @pvretano agreed with my general interpretation and we decided that he will add another comment to this issue. |
Thank you for your expertise. @ghobona Thus, I propose to leave the test as it is and to also allow OperationProcessingFailed (Status Code 403) as valid exception type. |
@dstenger Agreed. |
The test org.opengis.cite.iso19142.basic.filter.spatial.BBOXTests#invalidGeometryOperand expects an exception with InvalidParameterValue code and status code 400.
Test:
ets-wfs20/src/main/java/org/opengis/cite/iso19142/basic/filter/spatial/BBOXTests.java
Lines 197 to 224 in 35d1d4a
Some services returns an empty FeatureCollection.
Specification should be rechecked.
The text was updated successfully, but these errors were encountered: