Move to int for filehash.settings:dedupe config #877
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GitHub Issue: This one.
Release pull requests, etc.)
What does this Pull Request do?
#862 moved to allow the newer version of filehash to be used; however, the newer version of filehash has updated the schema for the
filehash.settings:dedupe
property, meaning applying the configs fromislandora_core_feature
run into the warning(/error, when encountering in the context of a unit test):What's new?
Updated the value for
filehash.settings:dedupe
to follow the upstream schema change, to be an integer instead of a boolean.(i.e. Regeneration activity, etc.)? No.
filehash
that would address this issue in the context of updatingfilehash
in already-installed sites... that said, if one was to update and apply this config with an older version offilehash
installed, presumably there were be warnings about the schema mismatching in the other direction.How should this be tested?
Unsure. I'm encountering this in the context of unit testing a private module, which requires some of the fields defined in the
islandora_core_feature
. Could probably reproduce by similarly, in a Drupal site, install the bare minimum set of features, including:islandora_core_feature
andfilehash
2.xDocumentation Status
Doesn't seem like there should be anything documenting the specific data type of this config setting, in the context of Islandora.
Additional Notes:
Any additional information that you think would be helpful when reviewing this
PR.
Interested parties
Tag (@ mention) interested parties or, if unsure, @Islandora/8-x-committers