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

Work page "Add to Collection" button does not work #249

Open
4 tasks
Tracked by #113 ...
KatharineV opened this issue Oct 9, 2023 · 10 comments
Open
4 tasks
Tracked by #113 ...

Work page "Add to Collection" button does not work #249

KatharineV opened this issue Oct 9, 2023 · 10 comments
Labels
bug something isn't working Knapsack Upgrade M3 Milestone 3 needs rework issue needs additional work

Comments

@KatharineV
Copy link
Collaborator

KatharineV commented Oct 9, 2023

While logged into demo.adventist-knapsack as an admin, I can see the "Add to collection" action button on a work's page. However, the button does not work. I cannot add to any collections.

I tried to add this work to two collections. One was already existing and I didn't create it. I created a second one just for the test, to confirm that it wasn't a permissions issue. I could not generate either collection name from the "Add to Collection" action button dropdown, so I couldn't add it to either collection.

Screenshots illustrating issue

Image

Image

Image

Testing Instructions

Be sure you have one or more collections available to work with. Add works to a collection through each of the options:

  • select one or more works from the dashboard list of works, and use the "Add to collection" button
  • open a work's show page, and use the "Add to collection" button
  • open a collection in the dashboard, and select "Add existing works to this collection"
  • go to second page on dashboard works list. select one or more works and use the "Add to collection" button
@KatharineV KatharineV added bug something isn't working Knapsack Upgrade labels Oct 9, 2023
@laritakr laritakr self-assigned this Oct 10, 2023
jeremyf referenced this issue Oct 10, 2023
In looking at the responses, Solr was complaining about a missing
spellcheck.dictionary for contributor.

To get this working, we removed the `spellcheck.dictionary` declaration.
One observation we had is that matches are now only made when we type a
significant number of characters (or 2 words, we don't know what).

An observed ongoing issue is that we're only finding exact matches.

Related:

- https://github.com/scientist-softserv/adventist-dl/issues/623
- https://github.com/scientist-softserv/adventist-dl/issues/622
jeremyf referenced this issue Oct 10, 2023
In looking at the responses, Solr was complaining about a missing
spellcheck.dictionary for contributor.

To get this working, we removed the `spellcheck.dictionary` declaration.
One observation we had is that matches are now only made when we type a
significant number of characters (or 2 words, we don't know what).

An observed ongoing issue is that we're only finding exact matches.

Related:

- https://github.com/scientist-softserv/adventist-dl/issues/623
- https://github.com/scientist-softserv/adventist-dl/issues/622

Co-authored-by: LaRita Robinson <[email protected]>
jeremyf referenced this issue Oct 10, 2023
In looking at the responses, Solr was complaining about a missing
spellcheck.dictionary for contributor.

To get this working, we removed the `spellcheck.dictionary` declaration.
One observation we had is that matches are now only made when we type a
significant number of characters (or 2 words, we don't know what).

An observed ongoing issue is that we're only finding exact matches.

Related:

- https://github.com/scientist-softserv/adventist-dl/issues/623
- https://github.com/scientist-softserv/adventist-dl/issues/622

Co-authored-by: LaRita Robinson <[email protected]>
jeremyf referenced this issue Oct 10, 2023
In looking at the responses, Solr was complaining about a missing
spellcheck.dictionary for contributor.

To get this working, we removed the `spellcheck.dictionary` declaration.
One observation we had is that matches are now only made when we type a
significant number of characters (or 2 words, we don't know what).

An observed ongoing issue is that we're only finding exact matches.

Related:

- https://github.com/scientist-softserv/adventist-dl/issues/623
- https://github.com/scientist-softserv/adventist-dl/issues/622

Co-authored-by: LaRita Robinson <[email protected]>
jeremyf referenced this issue Oct 10, 2023
In looking at the responses, Solr was complaining about a missing
spellcheck.dictionary for contributor.

To get this working, we removed the `spellcheck.dictionary` declaration.
One observation we had is that matches are now only made when we type a
significant number of characters (or 2 words, we don't know what).

An observed ongoing issue is that we're only finding exact matches.

Related:

- https://github.com/scientist-softserv/adventist-dl/issues/623
- https://github.com/scientist-softserv/adventist-dl/issues/622

Co-authored-by: LaRita Robinson <[email protected]>
jeremyf referenced this issue Oct 12, 2023
In looking at the responses, Solr was complaining about a missing
spellcheck.dictionary for contributor.

To get this working, we removed the `spellcheck.dictionary` declaration.
One observation we had is that matches are now only made when we type a
significant number of characters (or 2 words, we don't know what).

An observed ongoing issue is that we're only finding exact matches.

Related:

- https://github.com/scientist-softserv/adventist-dl/issues/623
- https://github.com/scientist-softserv/adventist-dl/issues/622

Co-authored-by: LaRita Robinson <[email protected]>
@jillpe
Copy link

jillpe commented Oct 13, 2023

SoftServ QA

  • ❌ select one or more works from the dashboard list of works, and use the "Add to collection" button
    • Clicking 'Save' results in an error

Image

Image

- open a work's show page, and use the "Add to collection" button - Clicking 'Save' results in an error

Image

Image

  • open a collection in the dashboard, and select "Add existing works to this collection"
  • Clicking 'Save' results in an error

Image

@jillpe jillpe added the needs rework issue needs additional work label Oct 13, 2023
@laritakr
Copy link
Contributor

relates to samvera/hyku#2024

@ShanaLMoore
Copy link

ShanaLMoore commented Feb 13, 2024

QA RESULTS: PASS ✅

@KatharineV
Copy link
Collaborator Author

ADL QA Results - Partial pass. Failure to search collections on single word, which is functionality that exists in our current production instance.

  1. select one or more works from the dashboard list of works, and use the "Add to collection" button
    Does NOT work if we search a single word of the collection name.
    Did work when I searched two words of a collection name. Unfortunately, we must have functionality with one word searches. The drop down says the search will work with only 2 characters. That has never worked, but Hyku has worked to search collections with a single word prior to Knapsack, and we need Knapsack to have the same functionality.

Failure to search on one word:
Image

Found the collection with two words:
Image

ADL production dropdown finds collections with single word search:
Image

  1. open a work's show page, and use the "Add to collection" button
    Does NOT work if we search a single word of the collection name.
    Did work when I searched two words of a collection name. Unfortunately, we must have functionality with one word searches.

  2. open a collection in the dashboard, and select "Add existing works to this collection"
    WORKED as expected

  3. go to second page on dashboard works list. select one or more works and use the "Add to collection" button
    WORKED as expected

@ShanaLMoore
Copy link

A better solution is in place in Hyku main, which adventist will receive once we complete their upgrade. This may be a temporary inconvenience, but Rob said we've fixed this before in other projects so it's worth looking through repos.

@ShanaLMoore
Copy link

@kirkkwang kirkkwang transferred this issue from notch8/adventist-dl May 10, 2024
@jillpe jillpe moved this to Ready for Development in Adventist Knapsack May 10, 2024
@KatharineV
Copy link
Collaborator Author

Team, when I tested in February, I could add existing works to existing collections. Today I cannot (on ADL production--will add a comment if other environments behave differently). I get an error message if I try to add using the "Add to collection" button on a work page, if I go to a collection and choose "add existing works," and if I page through the dashboard and try to add works to collections. Nothing is effective to add works to collections right now. :(

@laritakr
Copy link
Contributor

If you click on the collection inside the dashboard, I believe you should be able to add works using the options on that view. I would be interested to know if this will work.

Screenshot 2024-05-14 at 12 35 03 PM

@orangewolf
Copy link
Contributor

this is working in staging as of today

@orangewolf orangewolf moved this from Ready for Development to Client QA in Adventist Knapsack Aug 29, 2024
@ShanaLMoore ShanaLMoore added the M3 Milestone 3 label Sep 3, 2024
@KatharineV
Copy link
Collaborator Author

Staging test

First note: We still have to enter two complete words in order to search for collections. On Production, we can search anywhere with only one word. We must have feature parity with the single word search, because we have single word collections on prod that we can't search for or add to if this upgrade removes the ability to search and find with only one word. Screenshot shows how I had to enter two words to find a collection.

Image

Add existing works to this collection (works selected from page 1 of dashboard) - WORKS
Add existing works to this collection (works selected from page 6 of dashboard) - BUG
Add existing works to this collection (works selected after a keyword search of the dashboard) - BUG

  • From the Alumni Parade collection on dashboard, I selected to add existing works. When I made my selections on page 1 of the dashboard, the works were successfully added to the collection. When I clicked into page 6 and followed the same steps, the add to collection feature showed all the right metadata but after submitting changes, it opened the collection and the newly added works were not present. Same thing happened when I keyword searched the dashboard, tried to add a work, everything looked right, I submitted, and the collection opened without the newly added work present.
    After "add existing works," I Keyword searched for "florida" and selected a work
    Image
    And it all looked right, but if you check you won't find the work in the collection.
    Image

Dashboard list of work add to collection - BUG

  • I selected several works from the dashboard, tried to add to a collection, and got two results. The first time, the collection loaded as soon as I clicked "add to collection," but the works weren't present. I tried again, and I got an error message the second time. The works still aren't showing in the collection.
  • Image
    Image
    Image

Add to Collection from Work Page - BUG

@ShanaLMoore ShanaLMoore moved this from SoftServ QA to Ready for Development in Adventist Knapsack Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working Knapsack Upgrade M3 Milestone 3 needs rework issue needs additional work
Projects
Status: No status
Status: Ready for Development
Development

No branches or pull requests

6 participants