Hyrax V4 Testing
Descriptive summary
v4 needs extensive testing. The primary concern is data integrity, we don't want adds/edits/saves/review/imports/exports overwriting or deleting good data. We also want to know if search/indexing/display/etc still works.
Some testing ideas (non-exhaustive):
Create a work
Edit a work
Version a fileset
Review a work
Create a collection
Edit a collection
Add work(s) to a collection
Embargo/Lease stuff
Examine all pages for load & content (even if it looks funky)
Facet a search
Use a facet from the facet modal
Try paging through pagers
Advanced search
Open all the modals
Spotlight work/researcher
Other things you do on a frequent basis?
Expected behavior
The site is reliable and doesn't destroy our data.
Related work
https://staging-v4.oregondigital.org/
Accessibility Concerns
Uhhhh... yeah, I'm concerned. Most of our edits are still there, but if you see anything flagrant, flag it.
Known Issues:
- Occasional 404 - Some pods just seem to stop responding
- No objects in UV or mismatched objects - ~I'm still testing why this might be happening, currently I think it's a solr/indexing issue.~ Issue identified, staging environment was created w/o a
raispod & is still pointing at productionraisrather than staging. I'm still trying to get it to use staging, once this happens old works will begin displaying again, but anything added will be missing UV content
We'll learn more about these issues when we do an in-place upgrade of regular staging. I imagine they'll go away
Single work added through form: Expected bug: can't add URI values from id.loc.gov Other possible bug: 504 gateway timeout --BUT work was created, correct metadata displays on show page, thumbnail created, added to Review Submissions queue as expected.
Created New Collection Through Form: Test Collection: https://staging-v4.oregondigital.org/collections/test-coll-description-order
Bug?: Three description values (separate entry boxes) were entered in form at same time. When saved and displayed, values are displayed in reverse order from the form. I don't know if this is a display thing or something else.
update: 4th description value added on 10/20/2025 to test editing collections. Value was ordered 4th, after/under the description values included when collection was created. Original description value order is still reversed.
Review Submissions List: Work links only activate on right half(?) of screen
Bug 1: In review submissions list, mousing over title only becomes a link on right end of title. Some titles are too short and do not link to work show page at all. Example: 'Workers Bagging Wheat, circa 1930'.
*When link is available, they do go to correct show page.
Bug 2: Can't copy/paste title text. Targeting title text copies date values underneath.
Fetched Label Display on Work Show Pages:
Not Displaying:
- id.loc.gov. 'No Label Found' listed as label in Data Sources tab. URI values appear to be saved and display correctly in Data Sources list.
- Geonames. [same details as id.loc.gov] BUT some Geonames values do display. See https://staging-v4.oregondigital.org/concern/images/5h73px991 for example.
Displaying Correctly:
- Art and Architecture Thesaurus (vocab.getty.edu/aat)
- Opaguenamespace.org Creator/LocalCollectionName vocabs
- Purl.org DCMI Types
- Rightsstatement.org
- http://id.loc.gov/vocabulary/iso639-2/eng
- Wikidata (tested 10:15am, 10/20/25)
Explore Collections/OSU List: Collection Pages That Don't Open on v4 Staging But Do Open on Staging (not exhaustive):
(Collection ID) rockyshore93 annual-cruise braceros chuck-williams daily-barometer gwilliams textile-and-apparel osu-historical-images
Example Collections That Do Open on v4 Staging and Staging:
art-architecture-design pub-priv-pub-2 pk02c978s (Purple Collection)
Loading progress meter in Bulkrax importer creation form does not display when creating importer. Potential impact if we use create and import button before fully uploaded?
Editing Live Work:
Got 502 Bad Gateway twice and 504 time-out once when editing description through form on https://staging-v4.oregondigital.org/concern/documents/b2773x432 after hitting Save Changes button. It was imported and approved around 10am so too soon to edit?
Work Review Buttons:
Approve button in Review Submissions list functions. It may time-out after using button but work goes live.
Selection check boxes in Review Submissions list are non-responsive. -Cannot select multiple works to approve -Cannot test Review Selected button at top of list because of above
Review and Approval button on Work show page is non-responsive/does not open comment and approve action list. -example work in Review Submissions list: https://staging-v4.oregondigital.org/concern/images/k06988994 -example live work: https://staging-v4.oregondigital.org/concern/documents/kh04dr35w
Adding Works To Collections:
Add To button on Work show page: Functions as expected -Goes to Collection selection box -Search works as expected -Save button works after collection is selected
Adding From Works list in dashboard: Functions as expected -Selection box functions as expected -Buttons appear at top of list after selection as expected -Collection search works as expected -Save button appears and functions after target collection is selected
Add existing works to this collection link on Collection edit page: -Goes to Works list, defaults to My Works as expected -Selection box functions as expected -After selected in list buttons appear as expected -Clicking Add to button gets to screen below -Collection linked from auto-populates but there is no Save button
Importer Edit Error:
After this importer failed https://staging-v4.oregondigital.org/importers/3161, I removed the original metadata value that caused the error, repackaged the files and edited importer with new zip folder and clicked 'Remove and Rerun'.
Importer has a NoMethodError-undefined method `delete' for false:FalseClass error. I will try another incorrect importer to see if it happens again.
Error also occured on this importer https://staging-v4.oregondigital.org/importers/3162
Update: the sample ubio value for common_name also errored so you can ignore these importers unless that NoMethodError is not related to the data somehow.
2025-10-10 performing QA tasks from above
- Create a work ✔️
- deleted my 'couldn't create work' above b/c I think it was user error -- I think I was missing an institution value
- Successful ✔️ , created from Dashboard > Collections > [coll] > Deposit new work through this collection ((screenshot one))
- Review a work through each workflow ❌
- @CGillen what does "each workflow" refer to?
- Attempting to approve the work through Review Submissions:
- Review Submissions layout wonky as in https://github.com/OregonDigital/OD2/issues/3444 ("The results are displaying below the facets (should be side-by-side).")
- I believe I reproduced @KevinJonesMeta 's issue recorded here -- "mousing over title only becomes a link on right end of title. Some titles are too short and do not link to work show page at all" -- in Review Submissions list, my work title does not function as link at all
- Also reproduced @KevinJonesMeta 's issue here regarding check boxes for each work in Review Submissions-- can't use check boxes for my works in Review Submissions to "Review Selected"
((screenshot one))
Advanced Search:
Searches in all Advanced Search search boxes return 1042 results, which is the same as having no search terms.
@briesenberg07 Sorry about that,
each workflow is a copy+paste error from our repository. We have a few multi-step processes for works to be approved. OD2 only has one-step
View All on Collection Pages:
When clicking View All from a collection page all works in system are listed in results (1042). Tested on these featured collections (some are empty collections): https://staging-v4.oregondigital.org/collections/test-coll-description-order https://staging-v4.oregondigital.org/collections/osulp-art-coll https://staging-v4.oregondigital.org/collections/3416-qa-coll https://staging-v4.oregondigital.org/collections/2025_seaweed_test https://staging-v4.oregondigital.org/collections/2025_nosatsu_cpx_test
New Importer Issues (?):
The two importers below had new works with almost all fields for Image and Document models, respectively. The importers started yesterday afternoon and have now completed, but the file list in both importers still say the works are pending. Not sure if it is stuck or slowed down for some reason. The works could contain an error but system hasn't told me that yet. https://staging-v4.oregondigital.org/importers/3165 https://staging-v4.oregondigital.org/importers/3164
Some Explore Collections list links don't resolve ❌
- Chrome Version 141.0.7390.108 (Official Build) (64-bit)
- Logged in > Explore Collections / All
- Some coll links resolve, some don't
- Some that don't are 404, some that don't are as in screenshot one
- Some colls have 0 items, some have > 0 items, this doesn't seem to be the difference
- Examples
- https://staging-v4.oregondigital.org/collections/rockyshore93 ❌ ("THE RESOURCE YOU TRIED TO ACCESS ..." as in screenshot one, 1 items, per colls list)
- https://staging-v4.oregondigital.org/collections/african-ephemera ❌ ("THE RESOURCE YOU TRIED TO ACCESS ..." as in screenshot one, 0 items)
- https://staging-v4.oregondigital.org/collections/barbara-fealy-coll262 ✅ (0 items)
- https://staging-v4.oregondigital.org/collections/clarence-andrews ❌ (
404 Not Found, 35 items) - https://staging-v4.oregondigital.org/collections/frazier-boutelle ❌ ("THE RESOURCE YOU TRIED TO ACCESS ..." as in screenshot one, 0 items)
- https://staging-v4.oregondigital.org/collections/gwilliams ❌ ("THE RESOURCE YOU TRIED TO ACCESS ..." as in screenshot one, 38 items)
- https://staging-v4.oregondigital.org/collections/sheetmusic ✅ (0 items)
- https://staging-v4.oregondigital.org/collections/2j62s487q ✅ ("Yellow Collection," 2 items)
- https://staging-v4.oregondigital.org/collections/zig-jackson-ph401 ✅ (0 items)
((screenshot one))
Reproduced @KevinJonesMeta 's issue above just now -- clicking view all from coll page takes me to all works in system.
Accessing Collection Edit Pages:
Accessing Collections via Dashboard=>Collections=>'Collection Title'=>Edit Collection button:
For new collection edit page opens. https://staging-v4.oregondigital.org/dashboard/collections/test-coll-description-order/edit
For pre-existing/legacy collection, edit button gets error: https://staging-v4.oregondigital.org/dashboard/collections/osu-scarc
Related Tickets? #3460 #3446
Errored Works In Importer Showing Up Live:
These works errored in importer:
Importer: https://staging-v4.oregondigital.org/importers/3166
Error Listed on works in importer: ActiveRecord::RecordNotUnique - PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "sipity_entities_proxy_for_global_id" DETAIL: Key (proxy_for_global_id)=(gid://od2/Image/z890rv75g) already exists.
Work 1: https://staging-v4.oregondigital.org/concern/images/n870zs38f Work 2: https://staging-v4.oregondigital.org/concern/images/z890rv75g
Representative Works on Collection Page Saved But Not Displayed:
Value added under Branding tab of Collection edit page but not displaying.
Collection: https://staging-v4.oregondigital.org/collections/test-coll-description-order
Probably known issue: No Notifications When Reviewing multiple works in review list
Prod, Staging, and v4 staging do not send review notification emails when more than one work are selected in review works list and the Review Selected button is used for review action. Since it is true for all three versions I don't think this has been a functioning feature for awhile. I'll add outstanding ticket for it if I can find it. Low priority if we are going to add/repair this functionality.
Per https://github.com/OregonDigital/OD2/issues/3307 we want less notifications and limiting notifications to depositor if/when we can get to it, so this should not be fixed until we can limit notifications to depositor.
Known issue?: A-Z sort under individual facet More button gets server error.
More button works on relevant facets in facet list on search results page, but A-Z sort gets error from server.
Link to old site can be removed from landing page.
Date Filter (facet) on public results page may have scaling issue. @briesenberg07 Can you look at that and confirm it partially obscures the input dates when faceting?
It seems to behave correctly.
Trying to add file to Work: after upload finished I had this screen which appears to have activated Save Changes button then froze. I did not press the button before it froze. Log at bottom of page hasn't changed. Relevant work: https://staging-v4.oregondigital.org/concern/images/ft848s289
User Collections has a bug on creation (all versions): First work not added to new user collection
Test 1:
I created user collection KevinJonesTestUserCollection using 'Add to' button on work and created new collection from dialogue box.
I added three works to collection in following order:
- https://staging-v4.oregondigital.org/concern/images/6395w874z (Used to create collection, Not added to collection)
- https://staging-v4.oregondigital.org/concern/documents/kh04dr35w (added to collection after creation)
- https://staging-v4.oregondigital.org/concern/images/dn39x304n (added to collection after creation)
Test 2:
Created user collection KevinJonesTestUserCollection2 using 'Add to' button on work and created new collection from dialogue box.
Added these works to collection in following order:
- https://staging-v4.oregondigital.org/concern/images/9593tw80f (used to create collection, not added to collection)
- https://staging-v4.oregondigital.org/concern/images/z029p630t (added to collection after creation)
- https://staging-v4.oregondigital.org/concern/documents/b2773x42s (added to collection after creation)
Exported collection metadata contains 2 works and collection in zip for each test collection.
Retested on Staging and behavior is similar. 2 works added but 1 showing in count. Accessing new test collection gets 404 so I can't confirm 100%.
New user collection created called KJv4StaginComparisonTest on production using methods above:
One minute after adding second work to KJv4StagingComparisonTest on prod the second work is counted and visible when going to collection page but first work is absent:
New User Collection Creation From Search Results:
After using check box to select works from results page, when using 'Add selected to' button to add works to new user collection, collection is created but works are not added to collection. This is true on prod and staging as well.
Editing Leases Gets 404 error:
After editing visibility information on form, work with new lease appears in Manage Leases list. After editing lease and using Update Lease button a 404 error occurs and changes are not saved. This also happened on Staging. Not tested on production.
New Digital Collections Set to Private Show Up on OD Landing Page:
This behavior is also on production.