[PR #2126] [MERGED] fix(migration): make migration from Microsoft Todo work for those with previously migrated wunderlist accounts #3953

Closed
opened 2026-03-22 14:57:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/2126
Author: @MEDumont
Created: 1/20/2026
Status: Merged
Merged: 2/17/2026
Merged by: @kolaente

Base: mainHead: feature/fix-mstodo-graph-list-query


📝 Commits (1)

  • bd5b3a9 Fixed issue where the list query for Microsoft Todo import would query a paginated endpoint without using the next link. This endpoint also does not work for migrated accounts, such as those migrated over from Wunderlist. The delta endpoint handles this and returns all lists.

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 pkg/modules/migration/microsoft-todo/microsoft_todo.go (+1 -1)

📄 Description

Fixed issue where the list query for Microsoft Todo import would query a paginated endpoint without using the nextLink.
This endpoint also does not work for migrated accounts, such as those migrated over from Wunderlist. The delta endpoint handles this and returns all lists.

  • The Microsoft Graph API's /me/todo/lists endpoint only gets all lists that were originally created using the microsoft todo storage api. If the list was created as a result of migration (such as the Wunderlist migrations), then only newly created lists in the Microsoft Todo app will appear in the query.
  • In addition, this graph endpoint can reach a predefined limit and then resorts to pagination. If the "nextLink" is not handled in the code, then not all lists will be fetched.
  • The "/delta" endpoint is not paginated and will always get all lists, regardless of source. This will fix my issue and likely make it migrate easier for people with large numbers of lists.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/2126 **Author:** [@MEDumont](https://github.com/MEDumont) **Created:** 1/20/2026 **Status:** ✅ Merged **Merged:** 2/17/2026 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `feature/fix-mstodo-graph-list-query` --- ### 📝 Commits (1) - [`bd5b3a9`](https://github.com/go-vikunja/vikunja/commit/bd5b3a9b2e72f7a0b139beea577adbafd0e34071) Fixed issue where the list query for Microsoft Todo import would query a paginated endpoint without using the next link. This endpoint also does not work for migrated accounts, such as those migrated over from Wunderlist. The delta endpoint handles this and returns all lists. ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `pkg/modules/migration/microsoft-todo/microsoft_todo.go` (+1 -1) </details> ### 📄 Description Fixed issue where the list query for Microsoft Todo import would query a paginated endpoint without using the nextLink. This endpoint also does not work for migrated accounts, such as those migrated over from Wunderlist. The delta endpoint handles this and returns all lists. - The Microsoft Graph API's /me/todo/lists endpoint only gets all lists that were originally created using the microsoft todo storage api. If the list was created as a result of migration (such as the Wunderlist migrations), then only newly created lists in the Microsoft Todo app will appear in the query. - In addition, this graph endpoint can reach a predefined limit and then resorts to pagination. If the "nextLink" is not handled in the code, then not all lists will be fetched. - The "/delta" endpoint is not paginated and will always get all lists, regardless of source. This will fix my issue and likely make it migrate easier for people with large numbers of lists. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-22 14:57:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#3953