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

IntegrityCheck error when folder called 'content' not in top folder, and additional file or folder at same level. #266

Open
paulyoung84 opened this issue Nov 25, 2020 · 1 comment
Labels

Comments

@paulyoung84
Copy link

Running over some collections it picked up some erroneous IntegrityCheck errors. After manually verifying that there wasn’t actually any errors in the downloads I think I have traced it down to some residual issues with having a folder called ‘content’ somewhere in the filepath which isn’t the top level folder.

This was a problem before and was fixed in 300ef07 . It seems there are still problems when you have a folder called content and a file or another folder at the same level. The substitution path in the fix fails and it seems to cause all directly related files above and below the content folder to fail integrityCheck. I’ve attached a small sample set which replicates this.
csvvaltest.zip

@adamretter
Copy link
Contributor

@paulyoung84 The Integrity Check was always a mixed-concern :-/
It shouldn't really have been put into the CSV Validator, rather it should have been a separate tool entirely.

I think the first thing would be to define in writing somewhere what an "Integrity Check" really means, this might mean working backwards from the code. From there we could then figure out if that's what TNA needs today? Ultimately, I would still suggest moving it into a separate tool though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants