You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Error when moving a task on the kanban board #2119
I have a following error notification when I move a task on the kanban board:
Converting circular structure to JSON
--> starting at object with constructor 'e'
| property 'appMenuBarManager' -> object with constructor 'e'
--- property 'app' closes the circle
nothing wrong is happening and there are no logs in the developer tools console
TaskInfo returned by the public runtime API (tasks.get, relationships.parents, etc.) carries basesData — a Bases entry containing app/ctx. That makes the object non-serializable and breaks consumers that deep-convert or JSON.stringify it. Reproduced by editing a task that was rendered in a Bases view; TaskNotes Workflows overflows in its expression converter and then throws the circular notice.
Suggestion: keep basesData internal to the Bases views; exclude it from TaskInfo returned by the API, or define it as non-enumerable.
Thanks @chrabia for reporting this, and @konstantinopolka for tracking down the cause. The notice came from TaskNotes Workflows, but the root cause was in TaskNotes: tasks from the API still carried internal Bases view data that refers back to the Obsidian app.
Activity
konstantinopolka commentedon Nov 10, 2026
Same root cause as callumalpass/tasknotes-workflows#22, but the notice is thrown by TaskNotes Workflows.
TaskInforeturned by the public runtime API (tasks.get,relationships.parents, etc.) carriesbasesData— a Bases entry containingapp/ctx. That makes the object non-serializable and breaks consumers that deep-convert or JSON.stringify it. Reproduced by editing a task that was rendered in a Bases view; TaskNotes Workflows overflows in its expression converter and then throws the circular notice.Suggestion: keep
basesDatainternal to the Bases views; exclude it from TaskInfo returned by the API, or define it as non-enumerable.Merge pull request #2535 from callumalpass/fix/2119-api-strip-bases-data
callumalpass commentedon Nov 10, 2026
Thanks @chrabia for reporting this, and @konstantinopolka for tracking down the cause. The notice came from TaskNotes Workflows, but the root cause was in TaskNotes: tasks from the API still carried internal Bases view data that refers back to the Obsidian app.
Keep basesData out of TaskInfo returned by the runtime API (callumalp…