[Geoserver-devel] [JIRA] (GEOS-7257) Expired WPS resource status not being cleaned up

Jon Burgess created an issue

GeoServer / BugGEOS-7257

Expired WPS resource status not being cleaned up

Issue Type:

BugBug

Affects Versions:

2.8.0

Assignee:

Unassigned

Components:

WPS

Created:

20/Oct/15 7:30 AM

Priority:

MediumMedium

Reporter:

Jon Burgess

When a WPS resource expires:

  1. the corresponding status is removed
  2. the resource itself is removed from disk

Ref: https://github.com/geoserver/geoserver/blob/master/src/extension/wps/wps-core/src/main/java/org/geoserver/wps/WPSStorageCleaner.java#L50

However, the first of these two things doesn’t seem to be happening, resulting in the message “The execution is completed with status SUCCEEDED and yet the response cannot be located on disk, this is an internal failure” when attempting to “GetExecutionStatus”.

I think I’ve traced the problem down the following filter evaluating to false, when it’s intended to be true: https://github.com/geoserver/geoserver/blob/master/src/extension/wps/wps-core/src/main/java/org/geoserver/wps/executor/ProcessStatusTracker.java#L129

I’m not familiar with geotools filters, Instant etc, and how this is mapped to and from a java.util.Date (if that’s meant to be possible at all).

I can possibly provide a failing unit test replicating what I think the issue is, if that would be helpful (this is if I’m at all on the right track).

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.0.0-OD-08-002#70107-sha1:3f098e8)

Atlassian logo