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
log of page result cookie should log empty cookie with a different value than 0 #1987
Comments
Comment from spichugi (@droideck) at 2016-07-18 22:06:42 Hi Thierry, Your current patch contains a typo (I think so):
Thanks, |
Comment from nhosoi (@nhosoi) at 2016-07-18 22:28:25 I was adding the same comment a second later you added, Simon! You won. ;)
|
Comment from tbordaz (@tbordaz) at 2016-07-18 22:33:13 attachment |
Comment from nhosoi (@nhosoi) at 2016-07-18 22:40:12 Thanks, Thierry! |
Comment from tbordaz (@tbordaz) at 2016-07-18 22:52:23 '''git push origin master''' commit 73ff835 |
Comment from nhosoi (@nhosoi) at 2017-02-11 23:09:25 Metadata Update from @nhosoi:
|
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/48928
With the ticket https://fedorahosted.org/389/ticket/48752, the cookie value is logged with each page result RESULT.
When the page result is completed (no more entry to return), the returned cookie is 'pr_cookie=0'. Else the cookie value is logged 'pr_cookie='
Unfortunately the index ranges [0..N].
So when the value pr_cookie=0 is logged, it is not possible to know if it is an empty cookie or a valid cookie with the value 0.
The empty cookie should be logged differently
The text was updated successfully, but these errors were encountered: