Closed bpross-52n closed 6 months ago
Describe the bug If the data_queries element of an collection response is not specified, the validateNoQueryParameters and validateCoordsQueryParameters tests can run into a NullPointerException, see here: https://github.com/opengeospatial/ets-ogcapi-edr10/blob/7325036d19596fdfcf16bf4948519ba19cae39bb/src/main/java/org/opengis/cite/ogcapiedr10/queries/QueryCollections.java#L145
To Reproduce Steps to reproduce the behavior:
Expected behavior NPE should be cought.
The EDR specification should be checked, whether the data_queries element is mandatory.
Describe the bug If the data_queries element of an collection response is not specified, the validateNoQueryParameters and validateCoordsQueryParameters tests can run into a NullPointerException, see here: https://github.com/opengeospatial/ets-ogcapi-edr10/blob/7325036d19596fdfcf16bf4948519ba19cae39bb/src/main/java/org/opengis/cite/ogcapiedr10/queries/QueryCollections.java#L145
To Reproduce Steps to reproduce the behavior:
Expected behavior NPE should be cought.
The EDR specification should be checked, whether the data_queries element is mandatory.