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

🐛 Cast ID to String to Account for Valkyrie::ID #337

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

jeremyf
Copy link
Contributor

@jeremyf jeremyf commented Feb 19, 2024

Prior to this, casting a Valkyrie::ID to a SolrDocument value would create a hash and produce the following error:

RSolr::Error::Http:
RSolr::Error::Http - 400 Bad Request
Error: Unable to index docs with children: the schema must include
definitions for both a uniqueKey field and the '_root_' field, using the
exact same fieldType

See:

http://playbook-staging.notch8.com/en/samvera/hyku/troubleshooting/unable-to-index-docs-with-children

Prior to this, casting a Valkyrie::ID to a SolrDocument value would
create a hash and produce the following error:

```
RSolr::Error::Http:
RSolr::Error::Http - 400 Bad Request
Error: Unable to index docs with children: the schema must include
definitions for both a uniqueKey field and the '_root_' field, using the
exact same fieldType
```

See:

http://playbook-staging.notch8.com/en/samvera/hyku/troubleshooting/unable-to-index-docs-with-children
@jeremyf jeremyf merged commit b39296d into main Feb 19, 2024
9 of 10 checks passed
@jeremyf jeremyf deleted the cast-ids-to-strings branch February 19, 2024 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants