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

Support nested tasks #12

Open
kris524 opened this issue Dec 17, 2023 · 0 comments
Open

Support nested tasks #12

kris524 opened this issue Dec 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@kris524
Copy link
Owner

kris524 commented Dec 17, 2023

There is a bug: when you have a parent-child relationship in Notion, currently we just add the tasks on the same level in Google Tasks. However, GT, supports up to one level of depth between tasks. If you were to have a parent-child in Notion tasks, and in google it will end up both on the top level, If you were to delete the parent in GT, this will delete both tasks in Notion (the parent and child), not just the parent, and when the update is ran again, the following error is raised:

notion_client.errors.APIResponseError: Can't update a block with an archived ancestor. You must unarchive the ancestor before updating.
@kris524 kris524 added the bug Something isn't working label Dec 17, 2023
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

1 participant