You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2010/12/28 16:40:47 UTC

[jira] Resolved: (SLING-1903) JobStateChangeServlet throws JobStorageException for DONE jobs

     [ https://issues.apache.org/jira/browse/SLING-1903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-1903.
----------------------------------------

    Resolution: Fixed

Implemented in revision 1053371

> JobStateChangeServlet throws JobStorageException for DONE jobs
> --------------------------------------------------------------
>
>                 Key: SLING-1903
>                 URL: https://issues.apache.org/jira/browse/SLING-1903
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>
> Trying to change the state of a DONE job causes a JobStorageException, as the state cannot be changed anymore.
> This is not consistent with other state changes which return JSON information about the change - in this case that should be something like:
> {
>   "info":"Requested state change",
>   "desiredState":"RUNNING",
>   "path":"/var/bg/jobs/2010/12/28/15/54/7",
>   "currentState":"DONE",
>   "stateChanged":false
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.