-
Hi all, I'm testing out CollectionBuilder to see if it will work for a library database project: https://rflore2.github.io/ReadingRageDemo/ I've encountered a problem: When I click on "View Full Record" for an object in browse search ([https://rflore2.github.io/ReadingRageDemo/browse.html] https://rflore2.github.io/ReadingRageDemo/browse.html), the object doesn't load. It takes me to a new page, and a circle just spins in the middle of the page indefinitely. Objects are viewable in a table (https://rflore2.github.io/ReadingRageDemo/data.html) but I have the same issue when I click on the title to see an individual object. All the other features seem to be working and are pulling data from these objects, I just can't view them individually. On my pages build and deployment, I see this warning: "The github-pages gem can't satisfy your Gemfile's dependencies. If you want to use a different Jekyll version or need additional dependencies, consider building Jekyll site with GitHub Actions: https://jekyllrb.com/docs/continuous-integration/github-actions/" Does anyone know what the problem is and how to troubleshoot it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@rflore2 the issue you are encountering on the Item page is that your metadata does not contain a "format" field which is required to function in CB-GH. Check the details: https://collectionbuilder.github.io/cb-docs/docs/metadata/gh_metadata/#format (a longer explanation--> on CB-GH all the pages have a fall back if the item in the metadata is missing a format, EXCEPT the Item page which needs to choose the correct representation of the Item to display based on the "format". To debug a page that won't load, you can open your browser dev tools, and check the console to see what error is coming up in the javascript. In this case it will say |
Beta Was this translation helpful? Give feedback.
@rflore2 the issue you are encountering on the Item page is that your metadata does not contain a "format" field which is required to function in CB-GH. Check the details: https://collectionbuilder.github.io/cb-docs/docs/metadata/gh_metadata/#format
(a longer explanation--> on CB-GH all the pages have a fall back if the item in the metadata is missing a format, EXCEPT the Item page which needs to choose the correct representation of the Item to display based on the "format". To debug a page that won't load, you can open your browser dev tools, and check the console to see what error is coming up in the javascript. In this case it will say
Uncaught TypeError: record.format is null
, meaning…