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

Handle files with missing domain or path #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

newtrawl
Copy link

@newtrawl newtrawl commented Mar 9, 2023

Some backup databases seem to contain entries with only fileID and no other information. This fix properly includes them in the file list and prints a warning when trying to extract them.

Copy link

@fabioespinosa fabioespinosa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much fixed this:

run backup.files
[cli.js] unhandled rejection TypeError: Cannot read property 'slice' of null
    at Object.parseBuffer (/Users/user/.nvm/versions/node/v14.19.2/lib/node_modules/ibackuptool/tools/util/plist.js:7:14)

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

Successfully merging this pull request may close these issues.

2 participants