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

Tasks found using Dataview Source, both folder -"Tasks" and tags -"#GTD", can not be dragged and dropped #421

Closed
exomut opened this issue Apr 6, 2024 · 1 comment · May be fixed by #496
Labels
bug Something isn't working

Comments

@exomut
Copy link

exomut commented Apr 6, 2024

Describe the bug
Tasks found using Dataview Source, both folder -"Tasks" and tags -"#GTD", can not be dragged and dropped. It will cause Day Planner to stop working until restarting Obsidian.

To Reproduce

  1. Add a Dataview Source through the filter icon on the side panel: -"Tasks"
  2. After tasks are displayed on the day planner or week calendar, try to drag and drop one from the all-day area to the scheduled area.
  3. Error occurs instantly in the console.

Console Output
Uncaught TypeError: Cannot read properties of undefined (reading 'noTime')
at removeTask (plugin:obsidian-day-planner:47170:19)
at moveTaskToDay (plugin:obsidian-day-planner:47194:18)
at moveTaskToColumn (plugin:obsidian-day-planner:47206:10)
at transform (plugin:obsidian-day-planner:48283:33)
at eval (plugin:obsidian-day-planner:48323: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:48462:19)
at handleUnscheduledTaskGripMouseDown (plugin:obsidian-day-planner:47424:5)
removeTask @ plugin:obsidian-day-planner:47170
moveTaskToDay @ plugin:obsidian-day-planner:47194
moveTaskToColumn @ plugin:obsidian-day-planner:47206
transform @ plugin:obsidian-day-planner:48283
eval @ plugin:obsidian-day-planner:48323
sync @ plugin:obsidian-day-planner:34525
eval @ plugin:obsidian-day-planner:34536
set2 @ plugin:obsidian-day-planner:34484
startEdit @ plugin:obsidian-day-planner:48462
handleUnscheduledTaskGripMouseDown @ plugin:obsidian-day-planner:47424
func @ plugin:obsidian-day-planner:45966
func @ plugin:obsidian-day-planner:45821
eval @ plugin:obsidian-day-planner:45549
eval @ plugin:obsidian-day-planner:34042
bubble @ plugin:obsidian-day-planner:34042
mousedown_handler2 @ plugin:obsidian-day-planner:43345
eval @ plugin:obsidian-day-planner:33914

@exomut exomut added the bug Something isn't working label Apr 6, 2024
bayerju added a commit to bayerju/obsidian-day-planner that referenced this issue Jul 14, 2024
@ivan-lednev
Copy link
Owner

Please update and re-check.

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

Successfully merging a pull request may close this issue.

2 participants