Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day planner freezes after moving the task in timeline view #460

Closed
Vlislavn opened this issue May 15, 2024 · 2 comments
Closed

Day planner freezes after moving the task in timeline view #460

Vlislavn opened this issue May 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Vlislavn
Copy link

Describe the bug
Day planner freezes after dragging tasks from unscheduled field to the timeline if the task is from another note (not a daily note)

To Reproduce
Steps to reproduce the behavior:

  1. Change dataview source to filter -"#backlog" (i.e all tasks)
  2. move in timeline an unscheduled task (located in daily note from other date, but have scheduled date today. Task has no time
  3. no other tasks can be moved in the timeline
  4. See error
plugin:obsidian-day-planner:48325 Uncaught TypeError: Cannot read properties of undefined (reading 'noTime')
    at removeTask (plugin:obsidian-day-planner:48325:19)
    at moveTaskToDay (plugin:obsidian-day-planner:48349:18)
    at moveTaskToColumn (plugin:obsidian-day-planner:48361:10)
    at transform (plugin:obsidian-day-planner:48557:33)
    at eval (plugin:obsidian-day-planner:48597:14)
    at sync (plugin:obsidian-day-planner:34525:22)
    at Array.eval (plugin:obsidian-day-planner:34536:9)
    at Object.set2 [as set] (plugin:obsidian-day-planner:34484:35)
    at startEdit (plugin:obsidian-day-planner:48736:19)
    at handleUnscheduledTaskGripMouseDown (plugin:obsidian-day-planner:47586:5)
    at Array.func (plugin:obsidian-day-planner:46179:26)
    at HTMLDivElement.func (plugin:obsidian-day-planner:46034:13)
    at HTMLDivElement.eval (plugin:obsidian-day-planner:45762:14)
    at eval (plugin:obsidian-day-planner:34042:42)
    at Array.forEach (<anonymous>)
    at HTMLDivElement.bubble (plugin:obsidian-day-planner:34042:23)
    at HTMLDivElement.mousedown_handler2 (plugin:obsidian-day-planner:43558:12)
    at HTMLDivElement.eval (plugin:obsidian-day-planner:33914:15)
  1. cured with relaunch with obsidian

Expected behavior
move the task without error and assign a time if needed. currently only if I have a time before task i can move it

Additional context
if the task has predifined time it works okay.
using tasks plugin

@Vlislavn Vlislavn added the bug Something isn't working label May 15, 2024
@jderiz
Copy link

jderiz commented Jun 18, 2024

same here

@burgerga
Copy link

burgerga commented Jul 6, 2024

Duplicate of #421

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants