Labels will be created multiple times when using the multi line add function #110

Closed
opened 2025-11-01 20:47:21 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @chrisb86 on GitHub (Nov 18, 2022).

Description

When adding multiple tasks at once while adding labes with the quick add magic, all labels will be created multiple times, even if they are named the same.

eg.

Task 1 *label-foo
Task 2 *label-bla
Task 3 *label-foo

Leads to creation of the labels label-foo, label-foo and label-bla.

Vikunja Frontend Version

0.20.1

Vikunja API Version

0.20.1

Browser and version

Firefox 107.0

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

Bildschirm­foto 2022-11-19 um 00 55 01 Bildschirm­foto 2022-11-19 um 00 54 35
Originally created by @chrisb86 on GitHub (Nov 18, 2022). ### Description When adding multiple tasks at once while adding labes with the quick add magic, all labels will be created multiple times, even if they are named the same. eg. Task 1 *label-foo Task 2 *label-bla Task 3 *label-foo Leads to creation of the labels label-foo, label-foo and label-bla. ### Vikunja Frontend Version 0.20.1 ### Vikunja API Version 0.20.1 ### Browser and version Firefox 107.0 ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots <img width="1474" alt="Bildschirm­foto 2022-11-19 um 00 55 01" src="https://user-images.githubusercontent.com/560571/202822062-fb549f4d-4317-4211-acb1-497c5000cabd.png"> <img width="1474" alt="Bildschirm­foto 2022-11-19 um 00 54 35" src="https://user-images.githubusercontent.com/560571/202822058-2331f9a6-5d67-4d3f-b470-186d01195f06.png">
GiteaMirror added the bug label 2025-11-01 20:47:21 -05:00
Author
Owner

@kolaente commented on GitHub (Nov 21, 2022):

Looks like this is only the case when creating multiple tasks at once with a label that did not exist previously. Existing labels are correctly used multiple times.

@kolaente commented on GitHub (Nov 21, 2022): Looks like this is only the case when creating multiple tasks at once with a label that did not exist previously. Existing labels are correctly used multiple times.
Author
Owner

@kolaente commented on GitHub (Dec 4, 2022):

Fixed in 463d22b07c. Please check with the next unstable release (~30 min or on try) if the problem really went away.

@kolaente commented on GitHub (Dec 4, 2022): Fixed in 463d22b07ca75c91a6453c59ebdc3cb56ee61f96. Please check with the next unstable release (~30 min or on try) if the problem really went away.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#110