Closed ihsanyapicioglu closed 5 years ago
SUT: https://wfst.axl.aero/AxlRest/wfs?service=WFS&version=2.0.0&request=GetCapabilities Version: 1.30
Class: AbstractTemporalTest.java Method: findTemporalExtent
https://github.com/opengeospatial/ets-wfs20/blob/22edc8f01a723fe0da53eecd0d786ce53c505264/src/main/java/org/opengis/cite/iso19142/basic/filter/temporal/AbstractTemporalTest.java#L37
The method always return null because temporalProperty variable has never been assigned to a value. Since it is null, if condition in line 48 is always true.
https://github.com/opengeospatial/ets-wfs20/blob/22edc8f01a723fe0da53eecd0d786ce53c505264/src/main/java/org/opengis/cite/iso19142/basic/filter/temporal/AbstractTemporalTest.java#L48-L49
This situation causes findTemporalProperty method to throw SkipException in all cases.
https://github.com/opengeospatial/ets-wfs20/blob/22edc8f01a723fe0da53eecd0d786ce53c505264/src/main/java/org/opengis/cite/iso19142/basic/filter/temporal/AbstractTemporalTest.java#L27-L31
Thank you for reporting. We will do further investigation.
Fixed with PR: #131.
Result:
SUT: https://wfst.axl.aero/AxlRest/wfs?service=WFS&version=2.0.0&request=GetCapabilities Version: 1.30
Class: AbstractTemporalTest.java Method: findTemporalExtent
https://github.com/opengeospatial/ets-wfs20/blob/22edc8f01a723fe0da53eecd0d786ce53c505264/src/main/java/org/opengis/cite/iso19142/basic/filter/temporal/AbstractTemporalTest.java#L37
The method always return null because temporalProperty variable has never been assigned to a value. Since it is null, if condition in line 48 is always true.
https://github.com/opengeospatial/ets-wfs20/blob/22edc8f01a723fe0da53eecd0d786ce53c505264/src/main/java/org/opengis/cite/iso19142/basic/filter/temporal/AbstractTemporalTest.java#L48-L49
This situation causes findTemporalProperty method to throw SkipException in all cases.
https://github.com/opengeospatial/ets-wfs20/blob/22edc8f01a723fe0da53eecd0d786ce53c505264/src/main/java/org/opengis/cite/iso19142/basic/filter/temporal/AbstractTemporalTest.java#L27-L31