hawkbit
hawkbit copied to clipboard
Requesting deploymentBase of an finished action marks deployment as unfinished.
If a target requests a deploymentBase action after the target marked the deploymentBase action as 'Finished', the deployment status in hawkbit is set to 'Retrieved'. Trying to mark the deploymentBase action as 'Finished' after this is impossible since the feedback endpoint returns 'Gone'.
In the UI, this looks like this:

I'm guessing that the solution would be to return 'Gone' if a deploymentBase action is being requested that has already been marked as 'finished'.
Yes indeed, action should not be allowed to change after it had been finished, thanks for reporting it!