server icon indicating copy to clipboard operation
server copied to clipboard

[BUG]: Unarchiving a Task is not working

Open gpascal123 opened this issue 9 months ago • 0 comments

Version Information

0.14.3

Hashcat

No response

Description

When a finished task is archived and then unarchived, the task remains in the isArchived: true state both in the API response and the frontend display.

Steps to reproduce: I. Create one or more agents and set them as active. II. Create a wordlist, hashlist, or task, and let it run to completion. III. Once the task is finished and all hashes are cracked, click Edit Task and then Archive the task. IV. After archiving, click to Unarchive the task. V. Check the API response and frontend status of the task.

The API still returns "isArchived": true for the unarchived task

The following API call is currently used for this. http://localhost:8080/api/v2/ui/tasks/7 Body:

{
    "data": {
        "type": "Task",
        "id": 7,
        "attributes": {
            "isArchived": false
        }
    }
}

gpascal123 avatar Apr 15 '25 13:04 gpascal123