---
title: "Bugfix: Refuse archiving or restoring a task without effect"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:bugfix-1791325337@main"
source: "Changelog/1.0.0/Bugfix-1791325337-RefuseArchivingOrRestoringATaskWithoutEffect.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Bugfix: Refuse archiving or restoring a task without effect {#bugfix-1791325337}

## Description {#description}

`restoreTask` answered success for a task that was not archived, and `archiveTask` for a task whose subtasks were
archived as well, although nothing changed, so a client could not tell a stale screen from a real change. Both now
answer 409, as restoring a project that is not archived already does. Archiving again still archives a subtask that
was restored on its own.

## Impact {#impact}

Clients that archive or restore tasks without checking their state receive 409 instead of 200.
