-
Notifications
You must be signed in to change notification settings - Fork 71
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
field_resource_type is not being populted using migrate_islandora_csv #1153
Comments
There are no fields in the csv or configs for that field, but we do tag |
@mjordan I think the |
@whikloj OK, I've created an additional PR that takes the "Image" resource_type value from the CSV records. |
I am thinking it might be good to provide examples of both approaches (1 -hard-code taxo term in YAML and 2 - provide term string in CSV) in this module so others can figure out how do both. What do you guys think? |
We wouldn't want both approaches to be in play in the config file, so maybe should comment out the example of 1 (hard-coded) in the YAML file and include a comment that if you have a value that applies to all records in your CSV, you can use that approach. For example:
This could also be documented in the README file. |
Keeping commented-out content in config files is actually quite annoying in the Features import/export workflow. If you import the config all the comments get stripped out. Then, if you export the feature because you made a change to something unrelated, like a view, then it will overwrite your config with the comments with a version without. This requires you to continually discard changes for that particular config to keep comments around when making commits to git. I recommend keeping comments about configs in external documentation. |
@seth-shaw-unlv thanks for the heads up. I'll open another PR that adds this to the README and close the existing two. |
Ok to close this one? |
Yup. |
Importing the sample images provided in https://github.com/Islandora-CLAW/migrate_islandora_csv do not get their
field_resource_type
populated.The text was updated successfully, but these errors were encountered: