Nuno Oliveira ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A045c74f7-38ab-4dfa-af2b-2d9e961e7a48
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMTZlZDEwMmJmNDdkNDVmNGI5NTgyMGIwYzk2ZTEzNjciLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9935?atlOrigin=eyJpIjoiMTZlZDEwMmJmNDdkNDVmNGI5NTgyMGIwYzk2ZTEzNjciLCJwIjoiaiJ9
 ) GEOS-9935 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9935?atlOrigin=eyJpIjoiMTZlZDEwMmJmNDdkNDVmNGI5NTgyMGIwYzk2ZTEzNjciLCJwIjoiaiJ9
 ) CQL filter will not corretly parse 1 minute duration ( 
https://osgeo-org.atlassian.net/browse/GEOS-9935?atlOrigin=eyJpIjoiMTZlZDEwMmJmNDdkNDVmNGI5NTgyMGIwYzk2ZTEzNjciLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Unassigned Created: 25/Feb/21 7:01 PM Priority: 
Medium Reporter: Nuno Oliveira ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A045c74f7-38ab-4dfa-af2b-2d9e961e7a48
 )

The following filters will be correctly parsed:

* TIMESTAMP_PROPERTY DURING 2021-02-10T19:00:00Z/2021-02-10T19:10:00Z
* TIMESTAMP_PROPERTY DURING P1Y1M/2021-02-10T19:10:00Z

... but this one will not:

* TIMESTAMP_PROPERTY DURING PT10M/2021-02-10T19:10:00Z

Looks like the previous 10 minutes expression (PT10M) ( 
https://en.wikipedia.org/wiki/ISO_8601 ) is not correctly parsed. It fails with:

<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:ows="http://www.opengis.net/ows/1.1";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="2.0.0" 
xsi:schemaLocation="http://www.opengis.net/ows/1.1 
http://vdscs-stg-geoserver-1.emsa.geo-solutions.it:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd
 ">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>Could not parse CQL filter list.
Encountered &quot;DURING PT10M&quot; at line 1, column 35.

( 
https://osgeo-org.atlassian.net/browse/GEOS-9935#add-comment?atlOrigin=eyJpIjoiMTZlZDEwMmJmNDdkNDVmNGI5NTgyMGIwYzk2ZTEzNjciLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9935#add-comment?atlOrigin=eyJpIjoiMTZlZDEwMmJmNDdkNDVmNGI5NTgyMGIwYzk2ZTEzNjciLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100154- 
sha1:e3e2b03 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to