fix: handle nullable nextPage behavior when searching albums #12401#12408
Conversation
|
Thanks for this. The Also, the extractor function also needs to correctly set the |
|
@snaik20 yes sure I'll check these points and update the PR if needed then |
7d494c0 to
799298a
Compare
…ady handled in these areas so no other changes needed
| nextPage = result.getNextPage(); | ||
|
|
||
| if (!result.getErrors().isEmpty()) { | ||
| if (!result.getErrors().isEmpty() && nextPage != null) { |
There was a problem hiding this comment.
Hm, why is the nextPageInfo included in the error?
The nextPage might be null, but that does not mean that the extraction of the current page does not have any errors. We'd still want to get error reports in case the nextPage couldn't be extracted. The reassignment of nextPage needs to happen after the error report is generated.
What is it?
Description of the changes in your PR
nextPageis null on Albums modeBefore/After Screenshots/Screen Record
before_fix.mov
after_fix.mov
Fixes the following issue(s)
Due diligence