New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paginator can be stale/error on server rebuilds #4819

bep opened this Issue Jun 5, 2018 · 0 comments


None yet
1 participant

bep commented Jun 5, 2018

This is only an issue on rebuilds in hugo server, but if you edit a page that is part of a paginator, the paginator is stale on rebuilds, and you may see an error similar to this:

 error calling Paginate: invoked multiple times with different arguments

@bep bep added the Bug label Jun 5, 2018

@bep bep added this to the v0.42 milestone Jun 5, 2018

@bep bep self-assigned this Jun 5, 2018

bep added a commit to bep/hugo that referenced this issue Jun 5, 2018

hugolib: Reset Page's main output on server rebuilds
Not doing so prevents the paginators to be rebuilt on changes.

Fixes gohugoio#4819

@bep bep closed this in dc4226a Jun 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment