Skip to content

[BUG]: Cannot delete task #596

Open
Open
@tk0e

Description

@tk0e

Description

When I want to delete a task, that was mistakenly created and never had a position reported to, I get errors in Django Admin and fail to do so.

Steps to Reproduce

  1. Open a project in Django Admin
  2. Delete a task by clicking on the small cross icon on the right of the task box
  3. Save
  4. Follow the red marked errors

Expected Behavior

  1. Open a project in Django Admin
  2. Delete a task by clicking on the small cross icon on the right of the task box
  3. Save
  4. Timed checks, if that can be safely done (i.e. no reports on the task)
  5. Deletion confirmed

Attachments

No response

Additional Context

Not super critical, because tasks can be archived and archived tasks only show in the analysis and statistics modul.

To avoid misunderstandings, renaming tasks may help. Like "ZZ_not-used"

Version

v5.0.8

Required

  • I have checked past issues to see if this bug has already been reported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendThis issue or pull request is backend relatedbugSomething isn't working

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions