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

FindNotes failure when a linked notebook is no longer available #50

Closed
mpnow opened this issue Oct 6, 2014 · 1 comment
Closed

FindNotes failure when a linked notebook is no longer available #50

mpnow opened this issue Oct 6, 2014 · 1 comment

Comments

@mpnow
Copy link

mpnow commented Oct 6, 2014

I think this may be similar to what was fixed for ListNotebooks in #45.

In ENSession.m > findNotes_nextFindInLinkedScopeWithContext, if the linked notebook is for some reason no longer available to the user, then I believe the call to findNotesMetadataWithFilter will fail with an EDAMNotFoundException.

@everic
Copy link
Contributor

everic commented Oct 12, 2014

This should no longer happen. FindNotes will only use ENNotebooks found with listNotebooks, and if a sharedNotebook record is gone, the linked notebook is not listed in the notebook list, so when we're searching notes, the notebook is not going to be searched. I've verified this case with the latest code.

@everic everic closed this as completed Oct 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants