Broken Vikunja data import #1446
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#1446
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Setup
I use a Docker Compose setup, see: vikunja/frontend#3228
Steps to reproduce
Expected behavior
The frontend shows "Everything was migrated successfully." with a refresh button and all the imported data is available.
Actual behavior
The frontend shows "Everything was migrated successfully." with a refresh button, but the namespaces are shown as having no lists and therefore having no tasks, but when viewing the Upcoming tab, the tasks are shown correctly.
Additional info
I am also not able to create any new lists for the imported namespaces, the frontend shows a "Error Not found" message and the API container logs a PUT 404.
Maybe this has something to do with still being on the unstable build (I don't know if there has been any data restructuring since 0.20.4)? I tried running a fresh 0.20.4 instance and trying to import there, but that fails similarly, there the tasks aren't even registered as upcoming tasks.
I noticed that after trying to delete the imported namespaces and reloading the page, two namespaces reappear with some remaining tasks showing in the "Upcoming" tab which then need to be deleted again.
Actually, I didn't expect Vikunja to wipe user data when exporting the data. I expected it more to be some kind of "local backup" possibility.
I haven't yet tested this bug on the demo site.
Vikunja Frontend Version
0.20.5
Vikunja API Version
0.20.4+31-33f0d0f85a
Browser and version
No response
Can you reproduce the bug on the Vikunja demo site?
No
Screenshots
No response
I forgot to add some screenshots, so here they are:
There actually have been significant changes to the data format.
Did you create the export with the same version you used to import it?
Are you able to export and import on 0.20.4?
Can you check the json file in the zip file? Does it have all lists and tasks?
Did it remove existing tasks and lists? It should definitely not do that, it's meant as a way to back up your data, as you guessed.
Yes, both on version
0.20.4+31-33f0d0f85a
.Well, I can't export anything on
0.20.4
because of #1445.I didn't check the format itself, but I could Ctrl+F all list names, so they seem to have been exported (somewhat?) correctly.
If I remember it correctly,
everythingmy lists and tasks were wiped after exporting.I could not reproduce this on the latest unstable build. Can you reproduce it on try?
The https://try.vikunja.io/ instance doesn't seem to have a mailer, that's why I've just tested it again on both FE/BE unstable versions
0.20.5+93-cc519e6773
/0.20.4+37-84c3d0ef6d
. I can't seem to be able to reproduce the export wipe and also the broken import bug.I guess, the API/DB was somehow in some unique weird state which caused both bugs...
I think, this issue can be closed, if they can't be reproduced.
(Btw, luckily I've only recently started actively using Vikunja, so it was feasible to just create all tasks manually again on a fresh install.)
Awesome, please ping back if this happens again.