Hi, I’m tinkering with Vikunja, and I installed it on version v0.23.0 the same as GitHub, and I found something that I think might be a bug, it’s disappearing the sixth project created.
Can you reproduce this on try or with an unstable build?
It looks like the “Inbox” project is translated in the menu (“Caixa de entrada”, if my little Spanish knowledge is correct), but it seems like “Faculade” is missing in the projects overview.
Hi, I took the test through ‘try’ and the same thing happened, the project ‘teste4’ doesn’t appear in the overview.
Well that looks like a bug. I’ll take a look.
Hi, did you manage to see anything about the paintings?
We have also had multiple projects disappear. It seems random. Different users. Some projects that have been present and in use as a template. Some new and unused as yet.
We have had a case where it showed up on the logged in phone of a user and then was not visible on their PC when they logged in later. Their phone still showed it, even with a refresh, but the project was not found on the PC, even when searching by name.
Do you see some kind of pattern where the project disappear reliably? I’m having a hard time reproducing this. Is it different per device? Do the projects stay missing after logging out?
I have the same problem:
- Top Project (
parent_project_id
= 0) created by me is not listed in the left navigation pane - When I create additional projects, the “missing project” is also not available in the drop-down selection when selecting parent project
I don’t think it’s database problem:
- Table
projects
has the same owner_id and parent_id as some other projects, which show up correctly in the left pane - Table
user_projects
also stores the users that the project was shared with correctly
I also disabled the caches to make sure it’s not some caching problem:
VIKUNJA_REDIS_ENABLED: 0
VIKUNJA_REDIS_HOST: 'vikunja-redis:6379'
VIKUNJA_CACHE_ENABLED: 0
VIKUNJA_CACHE_TYPE: redis
But the problem persisted. So in summary, I don’t think this is DB or cache problem, but rather some strange app logic issue.
Does this only happen with top level projects? Does it happen with all parent projects? Does it persist across reloads?
Are you able to reproduce this with a fresh account on https://try.vikunja.io ? If so, which steps did you do?
OK, I think, I found the problem:
The problem was manifesting for user that had broad access to many top level projects. The top level project have a lot of subprojects. One of them easily 40+. It seems that once the limit of 50 was reached, the next top level projects were missing.
The default maxitemsperpage is 50.
I was able to fix the problem by increasing the variable and now the projects show up correctly:
VIKUNJA_SERVICE_MAXITEMSPERPAGE: 500
I think in terms of UI:
- Showing the subprojects (with truncated names) on the left pane is not very user friendly. A top level project with 50+ truncated subprojects is not easy to search for the right subproject.
- When one clicks on the top projects, you cannot view the subprojects in the main pane, which would be much better UI.
Other than that, @kolaente , thank you for the great work!
Gotcha, will look into a fix. Which version are you using?
I do wonder if that problem is responsible for the bug we had in this thread originally? Since that had only a handful of projects.
Got the same problem, first time user, 10 minutes in we have such an issue. In our case it’s fifth project.
When will it be fixed?
So far, I’m not able to reproduce it. Can you provide steps to reproduce it on https://try.vikunja.io?
I might have fixed this in b52d6dbf59. Please check with the next unstable build (should be ready for deployment in ~45min, also on try).