-
Notifications
You must be signed in to change notification settings - Fork 0
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
Unable to ingest funders #222
Comments
See the examples: |
Reviewing the logs I found: ```shell ERROR -- : [c94e8538d4e27e31ce8995e3cf6af992] RSolr::Error::Http - 400 Bad Request Error: { "responseHeader":{ "zkConnected":true, "status":400, "QTime":0, "params":{ "facet.field":["human_readable_type_sim", "resource_type_label_ssim", "creator_search_sim", "keyword_sim", "subject_sim", ``` The following line showed a string that was 2284 characters long and ended in `f.member_of_collection_ids_ssim.facet.matches=%5E%24`; those trailing characters decoded `^$` which could be a complete end of a query (e.g. an empty string regexp match). Related to: - samvera/hyrax#4728 - #222
Reviewing the logs I found: ```shell ERROR -- : [c94e8538d4e27e31ce8995e3cf6af992] RSolr::Error::Http - 400 Bad Request Error: { "responseHeader":{ "zkConnected":true, "status":400, "QTime":0, "params":{ "facet.field":["human_readable_type_sim", "resource_type_label_ssim", "creator_search_sim", "keyword_sim", "subject_sim", ``` The following line showed a string that was 2284 characters long and ended in `f.member_of_collection_ids_ssim.facet.matches=%5E%24`; those trailing characters decoded `^$` which could be a complete end of a query (e.g. an empty string regexp match). Related to: - samvera/hyrax#4728 - #222 - #223 - @9253f1a0c3cee81941c779765eb6a360309ea77b
Reviewing the logs I found: ```shell ERROR -- : [c94e8538d4e27e31ce8995e3cf6af992] RSolr::Error::Http - 400 Bad Request Error: { "responseHeader":{ "zkConnected":true, "status":400, "QTime":0, "params":{ "facet.field":["human_readable_type_sim", "resource_type_label_ssim", "creator_search_sim", "keyword_sim", "subject_sim", ``` The following line showed a string that was 2284 characters long and ended in `f.member_of_collection_ids_ssim.facet.matches=%5E%24`; those trailing characters decoded `^$` which could be a complete end of a query (e.g. an empty string regexp match). Related to: - samvera/hyrax#4728 - #222
related to: #355 |
@j-basford Would you happen to have the two files used to test this? The weird data issue on staging is making this hard to look into. Is this still a problem? |
@jeremyf Could you update this ticket with testing instructions or steps to reproduce? |
Looks like Here's what it looks like when I use The Funder Project Reference field does not show anywhere in the UI, but the value is stored and shows in the JSON feed. Also, since Bulkrax does not have an API lookup for funder, the fields all need to be explicitly included in the CSV. The CSV would look like:
Here's the altered CSV for the failed example: |
Passes BL QA - funder details successfully imported. Just need to be mindful that there is no API validation. So maybe we need to include a dropdown list in the bx template (to maintain consistency). |
British Library uses the crossref funder registry - each variation of the funder we've tried results in a failed import
NoMethodError
in Bx.The following method is raising an exception, because the yielded
hash
is a String but the logic excpects a Hash.britishlibrary/app/models/concerns/ubiquity/works_virtual_fields.rb
Lines 169 to 174 in 9c990a5
The raw metadata regarding Funder is as follows:
The parsed metadata for Funder is as follows:
In the parsed metadata there is no instance of project reference.
Testing Instructions
altered sample file (Google Drive link)
The text was updated successfully, but these errors were encountered: