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

Show image spec fails after add metadata to views, presenter, and solr exercise #10

Open
fnibbit opened this issue Mar 2, 2020 · 0 comments

Comments

@fnibbit
Copy link
Collaborator

fnibbit commented Mar 2, 2020

https://github.com/RepoCamp/unc2020/wiki/Add-Metadata-to-Views,-Presenter,-and-Solr

Add the field to solr -- at this point the image presenter
spec passes but the show image spec fails thus:

  1. Display an Image Show a public Image
    Failure/Error: self[Solrizer.solr_name('year')]

    ActionView::Template::Error:
    uninitialized constant SolrDocument::Solrizer
    Solrizer is deprecated, use this bit instead:

    def year
    self[ActiveFedora.index_field_mapper.solr_name('year')]
    end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant