Skip to content

Archiving a Cycle with No End Date Crashes with TypeError #9169

Description

@R0hit-Sriram

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

TypeError: '>=' not supported between instances of 'NoneType' and 'datetime.datetime'.

File: apps/api/plane/api/views/cycle.py, line 762

Steps to reproduce

  1. Create a cycle without setting an end date
  2. Attempt to archive that cycle
  3. See 500 error

Environment

Production

Browser

None

Variant

Cloud

Version

v0.17.0-dev

Metadata

Metadata

Labels

planesync issues to Plane🐛bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions