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

[pg] new owner of work cannot edit the work #9

Open
rjkati opened this issue Mar 27, 2023 · 0 comments
Open

[pg] new owner of work cannot edit the work #9

rjkati opened this issue Mar 27, 2023 · 0 comments

Comments

@rjkati
Copy link

rjkati commented Mar 27, 2023

Descriptive summary

After transferring ownership of work, the new owner of the work cannot edit the work

Expected behavior

New owner of work should be able to edit the work

Actual behavior

The new owner of the work clicks the edit button on the work and receives a "NoMethodError in Hyrax::Images#edit" error

Steps to reproduce the behavior

This requires access to two accounts on pg.nurax

  1. As User 1, navigate to your works page
  2. In the "actions" menu to the right of a work that you own, select "Transfer ownership of work"
  3. Search for User 2 and click "transfer". Click "OK" when asked if you're sure that you want to transfer
  4. As User 2, log in and access your dashboard. Click "transfers" in the "Your activity" menu.
  5. In the "Transfers Received" section, click the arrow next to "accept" and select "allow depositor to retain edit access"
  6. Click on the title of the work that was just transferred to you and then click "edit"
  7. Observe error message

nomethoderror_transfer

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