Duplicating tasks when cache is enabled #1496

Closed
opened 2023-04-16 13:12:44 +00:00 by Ghost · 2 comments

Description

Hi! Found strange bug with caching, when it is enabled - tasks got duplicated on the "Kanban" view on page reload or view switch (more in video).
I think this is backend bug, since duplication disappears if I restart the server.

Got this on latest unstable and 0.20.4 releases, with both cache.type = memory or keyvalue.

cache:
  enabled: true
  type: memory (or keyvalue) 

keyvalue:
  type: memory

Vikunja Frontend Version

0.20.5+163-c57d00a74b

Vikunja API Version

v0.20.4+91-10f71c29b2

Browser and version

Firefox 112.0 (64-bit)

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

vikunja-dup-1.mp4

image

### Description Hi! Found strange bug with caching, when it is enabled - tasks got duplicated on the "Kanban" view on page reload or view switch (more in video). I think this is backend bug, since duplication disappears if I restart the server. Got this on latest unstable and 0.20.4 releases, with both cache.type = memory or keyvalue. ``` cache: enabled: true type: memory (or keyvalue) keyvalue: type: memory ``` ### Vikunja Frontend Version 0.20.5+163-c57d00a74b ### Vikunja API Version v0.20.4+91-10f71c29b2 ### Browser and version Firefox 112.0 (64-bit) ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots ![vikunja-dup-1.mp4](/attachments/f70f96ce-68b4-4e6d-8a9b-6b830a28f213) ![image](/attachments/54643245-350f-4941-b47d-7b080121d7ee)
Ghost added the
kind/bug
label 2023-04-16 13:12:44 +00:00
Owner

That's a known problem. We will remove caching in the next release because right now it's useless and makes things even worse. And you'll only really need caching with a large instance, which is not the case for most users.

To resolve this for you now, please disable caching.

That's a known problem. We will remove caching in the next release because right now it's useless and makes things even worse. And you'll only really need caching with a large instance, which is not the case for most users. To resolve this for you now, please disable caching.
Author

Without caching everything works just fine, thank you for your attention!

Without caching everything works just fine, thank you for your attention!
Ghost closed this issue 2023-04-17 10:03:02 +00:00
konrad referenced this issue from a commit 2023-06-08 15:05:40 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1496
No description provided.