dropbox-sdk-java
dropbox-sdk-java copied to clipboard
listFolderLongpoll().changes return true when changes in any folder, not in specified folder
fun getDir(path: String) {
var result = client.files().listFolderBuilder(path)
.withLimit(500)
.withIncludeDeleted(true)
.withRecursive(false)
.start()
while (true) {
if (!result.hasMore) {
startLongPoll(result.cursor)
break
}
result = client.files().listFolderContinue(cursor)
}
}
fun startLongPoll(cursor: String) {
client.files().listFolderLongpoll(cursor, 30).changes // returns true if any changes in account, not in path specified with listFolderBuilder(path)
}
Thanks for the report. This is a known issue with the longpoll functionality. This is open with the team, but I don't have a timeline for a resolution. I'll follow up here with any news.
@greg-db What should we do with this ticket?
@handstandsam This issue is still valid, so we can keep this open.
We'd have to setup a reproduction case and debug to understand. Therefore we can keep it open until that is done. Thanks! 👍
I talked with @greg-db and he pointed me to some more information we have in an internal tracking system. Thanks Greg!