But why should we have the same label title multiple times at all?
Vikunja Frontend Version
vikunja/frontend:0.20.5
Vikunja API Version
vikunja/api:0.20.4
Browser and version
No response
Can you reproduce the bug on the Vikunja demo site?
Yes
Screenshots
No response
### Description
Importing CalDav Categories seems to always create new labels, even if a label with the same title exists already for the current user.
Maybe (but I am not very sure) the reason labels from CalDAv are replicated is in https://kolaente.dev/vikunja/api/src/branch/main/pkg/routes/caldav/listStorageProvider.go#L420. labels that are returned from `vTask.Update()` don't have their id filled in. So comparing by ids cannot work.
But why should we have the same label title multiple times at all?
### Vikunja Frontend Version
vikunja/frontend:0.20.5
### Vikunja API Version
vikunja/api:0.20.4
### Browser and version
_No response_
### Can you reproduce the bug on the Vikunja demo site?
Yes
### Screenshots
_No response_
Description
Importing CalDav Categories seems to always create new labels, even if a label with the same title exists already for the current user.
Maybe (but I am not very sure) the reason labels from CalDAv are replicated is in https://kolaente.dev/vikunja/api/src/branch/main/pkg/routes/caldav/listStorageProvider.go#L420. labels that are returned from
vTask.Update()
don't have their id filled in. So comparing by ids cannot work.But why should we have the same label title multiple times at all?
Vikunja Frontend Version
vikunja/frontend:0.20.5
Vikunja API Version
vikunja/api:0.20.4
Browser and version
No response
Can you reproduce the bug on the Vikunja demo site?
Yes
Screenshots
No response