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

Fix support for siard 2.1 issue418 #421

Merged
merged 2 commits into from
Mar 18, 2020

Conversation

sparkhi
Copy link
Collaborator

@sparkhi sparkhi commented Mar 18, 2020

It looks like we were generating various maps in the codebase for identifying signature entries and comparisons, however when we created the keys in map, we were stripping the trailing slash. When truezip reads a file, the zip entries for siard contains the trailing slash, so our matching mechanism fails.

Going through the signature files, siard 2.1 is the only path that had a trailing slash so the change won't affect other files.

[Update Jeremie] fix #418

@sparkhi sparkhi requested a review from jcharlet March 18, 2020 13:01
@jcharlet jcharlet added the bug label Mar 18, 2020
@jcharlet jcharlet added this to the 6.5 milestone Mar 18, 2020
@jcharlet jcharlet added this to In progress in DROID Kanban board 6.5 via automation Mar 18, 2020
Copy link
Contributor

@jcharlet jcharlet left a comment

Choose a reason for hiding this comment

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

tested locally, on sample file + on skeleton suite on 6.4 and 6.5 on GUI

DROID Kanban board 6.5 automation moved this from In progress to Reviewer approved Mar 18, 2020
@jcharlet jcharlet merged commit ed3de47 into master Mar 18, 2020
DROID Kanban board 6.5 automation moved this from Reviewer approved to Done Mar 18, 2020
@jcharlet jcharlet deleted the fix-support-for-siard-2.1-issue418 branch March 18, 2020 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

fmt-1196 SIARD 2.1 is wrongly identified as ZIP
2 participants