question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

List pagination is broken

See original GitHub issue

Which service(blob, file, queue, table) does this issue concern?

blob

Which version of the Azurite was used?

mcr.microsoft.com/azure-storage/azurite:latest

Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)

DockerHub

What’s the Node.js version?

No idea

What problem was encountered?

When using ListBlobsFlatSegment to list blobs and there are more blobs than MaxResults, we must do further requests so long as the returned NextMarker is NotDone. I create 110 blobs, named 0…109. I do a list with MaxResults=100, and get back blobs 0…99 and a NextMarker of 99. I do another list using that marker, and get back no results, instead of the remaining 10 results.

Steps to reproduce the issue?

I have an open PR which demonstrates the problem: https://github.com/hashicorp/vault/pull/12057 TestAzureBackend_ListPaging works with Azure, when I set the environment variables AZURE_ACCOUNT_NAME and AZURE_ACCOUNT_KEY. It fails when running against Azurite, as described above, and as seen here: https://app.circleci.com/pipelines/github/hashicorp/vault/19003/workflows/775ca893-c275-474e-b32b-f6c4071671dc/jobs/240755 azurite-debug-logs.txt.gz

If possible, please provide the debug log using the -d parameter, replacing <pathtodebuglog> with an appropriate path for your OS, or review the instructions for docker containers:

-d "<pathtodebuglog>"

Please be sure to remove any PII or sensitive information before sharing!
The debug log will log raw request headers and bodies, so that we can replay these against Azurite using REST and create tests to validate resolution.

Have you found a mitigation/solution?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ncabatoffcommented, Jul 16, 2021

Perfectly understandable. I realized that I can use your workaround to modify my test just fine, without impacting prod, so thanks again for that.

0reactions
bluewwcommented, Jul 27, 2021

Azurite 3.14.0 is already released with the fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Blog List Pagination Not Working - WordPress.org
Hello support, I'm having issues with the blog list pagination not working. It seems like clicking on next reloads the page.
Read more >
List view pagination not working consistently
1.Try to create a new list in the site and check whether the pagination of this list works properly. · 2.Edit the number...
Read more >
Overriding list methods breaks pagination - django
But overriding list method breaks pagination for some reason. Any ideas how to overcome this? django · django-rest-framework.
Read more >
Pagination not working on list views · Issue #6298 - GitHub
If the "User" column is visible by default in the list view, pagination works and only breaks upon hiding it.
Read more >
Pagination is not working fine in the report list - ServiceNow
Solved: Hi all, When viewing a report or catalog list with 20 records visible and the report or list is greater than that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found