Closed megamisan closed 2 months ago
@megamisan Unfortunately where things are at in development of v2.5.x this will not be looked at for v2.4.x.
As you also compiled your application, please test this against v2.5.0 RC3. The details can be found here: https://github.com/abraunegg/onedrive/discussions/2770
@abraunegg The issue is still present in RC3.
src/onedrive.d@onedrive-v2.5.0-release-candidate-3:L704-L708
Method o365SiteDrives
does not support nextLink
.
A loop like the main loop of the current method (querySiteCollectionForDriveID
) should be done with the nextLink
.
I ported my patch. I'm creating the PR with requested details.
Edit: Done.
@megamisan Many thanks - I was starting to create 200+ entries in a library .. greatly appreciated.
This is now merged into RC3
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Describe the bug
When using option
--get-O365-drive-id
, it is not possible to list all drives of a site with more the 200 entries. Pagination is not respected.Operating System Details
Client Installation Method
From Distribution Package
OneDrive Account Type
SharePoint
What is your OneDrive Application Version
2.4.25
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
What are all your local file system partition types
How do you use 'onedrive'
Not relevant
Steps to reproduce the behaviour
On Sharepoint, create a site. In this site, create more than 200 libraries.
Complete Verbose Log Output
Screenshots
No response
Other Log Information or Details
No response
Additional context
A made a fast patch to work around the issue, but I do not think it is the maintainable way to do it.
onedrive-drive-list-fix.patch