Skip to content

Task.Folder can be null #871

@PhyxionNL

Description

@PhyxionNL

Describe the bug

public TaskFolder Folder

This is marked as NotNull, but this is not correct. If you have a task and delete the folder it's contained in then Folder will return null.
See also:

TaskFolder f = null;

To Reproduce
Steps to reproduce the behavior:

  1. Create a task and keep an instance to it.
  2. Delete the task and its folder with Windows' task scheduler.
  3. Access Task.Folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions