CitizenScienceCenter / csz-lab-app

GNU Affero General Public License v3.0
3 stars 1 forks source link

Browse tasks - I see only a limited number of tasks #38

Closed rosymond closed 3 years ago

rosymond commented 3 years ago

I just created a test project "Test Ana" to analyse tweets. I imported 20 tweets at creation. However, if I look at "Browse tasks" (in the dashboard) I only see 10 tasks. If I "export tasks" I see in the downloaded file that, indeed, there are 20 tasks in the project.

Maybe a problem with pagination?

andres112 commented 3 years ago

After a detailed revision, was possible to see that the problem is caused by the attribute n_tastks contained in the response from the server when a getProjectTasks request is triggered. So far, the issue was only checked when the project is in draft mode, is required to check if the issue exists when the project will be in published mode too. Although all the tasks are included in the project, the parameter n_tastks is set to 0. @janCstoffregen

image

image

janCstoffregen commented 3 years ago

... related to https://github.com/Scifabric/pybossa/issues/1907

janCstoffregen commented 3 years ago

https://docs.pybossa.com/installation/guide/#running-asynchronous-tasks-in-the-background

janCstoffregen commented 3 years ago

fixed here https://github.com/Crowd4SDG/pybossa-dev/issues/9, the bug is gone with the new deployment.