Skip to content
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

GET_BOOKMARK_ORDER may receive both prevOrder and nextOrder empty #225

Closed
AlexeyBarabash opened this issue Oct 12, 2018 · 0 comments
Closed

GET_BOOKMARK_ORDER may receive both prevOrder and nextOrder empty #225

AlexeyBarabash opened this issue Oct 12, 2018 · 0 comments
Assignees

Comments

@AlexeyBarabash
Copy link
Contributor

@AlexeyBarabash AlexeyBarabash commented Oct 12, 2018

GET_BOOKMARK_ORDER command may receive both prevOrder and nextOrder empty.
The simplest case is when the bookmark is added to an empty bookmarks folder. There is no way to find what are prevOrder and nextOrder because there are no any items in a folder at this time.

The obvious solution is to set result based on a parentOrder , make it parentOrder+".1" not to break the all scheme.

@AlexeyBarabash AlexeyBarabash self-assigned this Oct 12, 2018
AlexeyBarabash referenced this issue Oct 15, 2018
handle situation when prev and next orders are empty; fix#225
darkdh referenced this issue Nov 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.