[PR #1015] [MERGED] fix(migration): reset buckets before creating related tasks so that they are actually created #4617

Closed
opened 2026-04-16 13:10:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1015
Author: @kolaente
Created: 6/24/2025
Status: Merged
Merged: 6/25/2025
Merged by: @kolaente

Base: mainHead: codex/fix-todoist-import-bug


📝 Commits (3)

📊 Changes

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

View changed files

📝 pkg/modules/migration/create_from_structure.go (+16 -0)

📄 Description

Resolves https://community.vikunja.io/t/incomplete-todoist-import/3763/9
Resolves https://github.com/go-vikunja/vikunja/issues/254

Summary

  • fix missing bucket errors when importing from Todoist
  • extract bucket creation logic to ensureBucketForImport to avoid duplication

Testing

  • mage lint:fix
  • mage test:feature

https://chatgpt.com/codex/tasks/task_e_684be55b74088322a1008ba41087a0ab


🔄 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/1015 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 6/24/2025 **Status:** ✅ Merged **Merged:** 6/25/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `codex/fix-todoist-import-bug` --- ### 📝 Commits (3) - [`4d1de23`](https://github.com/go-vikunja/vikunja/commit/4d1de234763f8ada82b49d1776ee27d3c7628b5d) fix: create buckets on the fly during import - [`972dacc`](https://github.com/go-vikunja/vikunja/commit/972dacc8e50458b329ea97e358d9f36d81fea152) fix: refactor - [`1d7b084`](https://github.com/go-vikunja/vikunja/commit/1d7b08443ba4ce712e34fe60167dd92a402580e5) refactor ### 📊 Changes **1 file changed** (+16 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pkg/modules/migration/create_from_structure.go` (+16 -0) </details> ### 📄 Description Resolves https://community.vikunja.io/t/incomplete-todoist-import/3763/9 Resolves https://github.com/go-vikunja/vikunja/issues/254 ## Summary - fix missing bucket errors when importing from Todoist - extract bucket creation logic to `ensureBucketForImport` to avoid duplication ## Testing - `mage lint:fix` - `mage test:feature` ------ https://chatgpt.com/codex/tasks/task_e_684be55b74088322a1008ba41087a0ab --- <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-04-16 13:10: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#4617