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.

Reply via email to