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

replaceWithLink() can break links. #1

Open
HankB opened this issue Feb 21, 2018 · 1 comment
Open

replaceWithLink() can break links. #1

HankB opened this issue Feb 21, 2018 · 1 comment
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed wontfix This will not be worked on

Comments

@HankB
Copy link
Owner

HankB commented Feb 21, 2018

If the second argument to replaceWithLink() is itself one of more than one link to a file, the link will be broken when it is linked to the first argument. No files are lost but the situation will result in identical files that are not linked to each other.

This is a bug but since it results in degraded operation vs. loss of data it is not critical.

@HankB HankB added the bug Something isn't working label Feb 21, 2018
@HankB HankB self-assigned this Feb 21, 2018
@HankB HankB added help wanted Extra attention is needed wontfix This will not be worked on labels Feb 23, 2018
@HankB
Copy link
Owner Author

HankB commented Feb 23, 2018

Further testing indicates that multiply linked files within the dataset examined will all be linked before the process completes. Files are dropped from the link but are added back as they are examined.

If any of the links extend outside the directories examined, these will not be 'recaptured' and will remain unlinked. This could also happen to files that are in read only (for the user running the process) directories. I am open to suggestions for fixing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant