go-vikunja / vikunja

Mirror of vikunja from https://code.vikunja.io/api
GNU Affero General Public License v3.0
773 stars 56 forks source link

Bug: Some subtasks don't show up, likely pagination issue. #128

Closed from-nibly closed 5 months ago

from-nibly commented 6 months ago

Description

When adding subtasks onto a project through the task details page, I noticed that some of the tasks aren't showing up in the list. Also i now have multiple pages in the project, but the second page doesn't have any tasks that show up.

Vikunja Frontend Version

0.22.0

Vikunja API Version

0.22.0

Browser and version

Firefox 119.0.1

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

Selection_437 image

If this still exists at time of reading the link to this project is https://try.vikunja.io/projects/23/list?page=2

I created tasks with 11 subtasks over and over until it appeared.

it looks like there are 50 tasks before it paginates and stops showing up

Here's the yoo task with all of the actual subtasks

image

from-nibly commented 6 months ago

Actually I'm adding more and more tasks to my list and it looks like there are several pagination + subtask related issues.

I think this is all frontend related since the api Seems to be returning all subtasks just fine in the API calls I see in the browser.

Like right now I'm seeing that even after pushing some tasks to the second page, Some parent tasks now contain all of their subtasks while others don't

kolaente commented 6 months ago

Which of the tasks are actually missing? Only tasks which are the subtask of another task?

from-nibly commented 6 months ago

Yes parent tasks all seem to appear. It's just the subtasks that are missing as far as I can tell.

kolaente commented 6 months ago

Are the subtasks definitely missing or do they show up as nested below their parent?

from-nibly commented 6 months ago

They look like the screenshots above. The tasks definitely exist. They show up in the details page. They don't appear in the project list page though.

The examples should also be in the "try" domain for you to explore.

from-nibly commented 6 months ago

The examples should also be in the "try" domain for you to explore.

Jk they are gone.

kolaente commented 6 months ago

Do they show up as nested below their parent in the project list?

from-nibly commented 6 months ago

No that's what the bug is about. Some of them do some of them don't.

They show up fine in the details page, the kanban board, and the table, but they don't show up nested below their parents on the project list. The screenshots should help illustrate what I'm talking about.

from-nibly commented 6 months ago

I guess for a little more clarification. They don't show up anywhere on the project list nested or otherwise.

kolaente commented 5 months ago

I've pushed a potential fix in 664bf0a5f48ba872236de6af9c2735e68b47b4b7 - can you check with the next unstable build if the problem went away?

kolaente commented 5 months ago

Closing as resolved, since I'm unable to reproduce this any more. Please ping if you think this is still a problem.