probo icon indicating copy to clipboard operation
probo copied to clipboard

Pagination of Measures seems broken after Import

Open tankerkiller125 opened this issue 1 year ago • 4 comments

I'm doing this locally for some context in the latest released version, Postgres 17.

I'm generating what I believe to be accurate Framework Imports (they seem to work correctly), and then importing generated Measures from them.

During the import the measure counts are also correct, however once the page refreshes/frontend catches up suddenly most of the measures just disappear.

This also seems to impact tasks as it seems to be limiting to the top 20 tasks, with no option to load additional ones.

As an example:

Immediately after Import: Image

After Refresh: Image

Digging through the Web Requests it seems that the pagination isn't working correctly, the first response indicates that there are more pages, but no secondary requests are made after.

So you can try replicating:

Framework Import Files: https://github.com/tankerkiller125/graphgrc/blob/main/docs/iso27002/probo-import.json https://github.com/tankerkiller125/graphgrc/blob/main/docs/iso27001/probo-import.json https://github.com/tankerkiller125/graphgrc/blob/main/docs/gdpr/probo-import.json https://github.com/tankerkiller125/graphgrc/blob/main/docs/soc2/probo-import.json

Measures Import File: https://github.com/tankerkiller125/graphgrc/blob/main/docs/scf/probo-measures-import.json

Edit: Additional note, I can get to the measures themselves if I manually enter their IDs into the URL, so this seems to be a purely pagination related issue.

tankerkiller125 avatar Oct 07 '25 20:10 tankerkiller125

Thanks for reporting. I will look into it.

SachaProbo avatar Oct 08 '25 07:10 SachaProbo

We don’t have frontend pagination on this page yet. We’re going to add it soon, but before that, we’ll merge a hotfix that displays more measures and tasks.

See: https://github.com/getprobo/probo/pull/424

SachaProbo avatar Oct 08 '25 15:10 SachaProbo

Fixed (temporarily) in https://github.com/getprobo/probo/commit/ac973d4f4647aa67f3aeee6f7cb8d6cde740ff18

SachaProbo avatar Oct 08 '25 16:10 SachaProbo

We have created two issue to add front end pagination on task and measures:

  • https://github.com/getprobo/probo/issues/427
  • https://github.com/getprobo/probo/issues/426

SachaProbo avatar Oct 08 '25 16:10 SachaProbo