Skip to content

fix: edit --set-dtend crashed on events - #95

Merged
tobixen merged 1 commit into
masterfrom
fix/event-set-dtend
Nov 22, 2026
Merged

tobixen merged 1 commit into
masterfrom
fix/event-set-dtend

Conversation

@tobixen

@tobixen tobixen commented Nov 22, 2026

Copy link
Copy Markdown
Member

Commit message:

fix: edit --set-dtend crashed on events

`plann select --uid ... edit --set-dtend=...` passed check_dependent to
Event.set_dtend(), which does not take it (the parent/child due checks
are a VTODO concept), giving a TypeError, so an event could not be
given a new end time.  --set-due still does the checks.

--set-dtend on a task, --set-due on an event and either on a journal
crashed with an AttributeError (also through interactive "set due=");
they are now a usage error naming the property the item does have.

Prompt: [pick from the task list: "edit --set-dtend on events crashes
(set_end() has no check_dependent)"]

Assisted-By: Claude Opus 5.5
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>

🤖 Generated with Claude Code

`plann select --uid ... edit --set-dtend=...` passed check_dependent to
Event.set_dtend(), which does not take it (the parent/child due checks
are a VTODO concept), giving a TypeError, so an event could not be
given a new end time.  --set-due still does the checks.

--set-dtend on a task, --set-due on an event and either on a journal
crashed with an AttributeError (also through interactive "set due=");
they are now a usage error naming the property the item does have.

Prompt: [pick from the task list: "edit --set-dtend on events crashes
(set_end() has no check_dependent)"]

Assisted-By: Claude Opus 5.5
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
@tobixen
tobixen merged commit 2d7608e into master Nov 22, 2026
9 checks passed
@tobixen
tobixen deleted the fix/event-set-dtend branch November 22, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant