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

HUT : Broken Controller Test #1138

Closed
scherztc opened this issue Dec 13, 2023 · 3 comments · May be fixed by #1157
Closed

HUT : Broken Controller Test #1138

scherztc opened this issue Dec 13, 2023 · 3 comments · May be fixed by #1157
Assignees

Comments

@scherztc
Copy link
Contributor

Descriptive summary

  1. Hyrax::GenericWorksController#update when the user has write access to the file changing rights when the work has file sets attached prompts to change the files access
    Failure/Error: expect(response).to redirect_to main_app.confirm_hyrax_permission_path(controller.curation_concern, locale: 'en')

    Expected response to be a redirect to http://test.host/concern/permissions/1072/confirm?locale=en but was a redirect to http://test.host/concern/generic_works/1072?locale=en.
    Expected "http://test.host/concern/permissions/1072/confirm?locale=en" to be === "http://test.host/concern/generic_works/1072?locale=en".

    ./spec/controllers/concerns/scholar/work_controller_behavior_spec.rb:198:in `block (6 levels) in <top (required)>'

Expected behavior

Actual behavior

Steps to reproduce the behavior

  1. Do this
  2. Then do this...

Related work

Link to related issues or prior related work here.

@scherztc scherztc added this to the Security and Maintenance milestone Dec 13, 2023
@crowesn crowesn self-assigned this Dec 14, 2023
@crowesn
Copy link
Contributor

crowesn commented Dec 15, 2023

samvera/hyrax@33a4ea7

@crowesn
Copy link
Contributor

crowesn commented Jan 2, 2024

@scherztc

Progress on this issue is blocked by #1133

@scherztc scherztc self-assigned this Apr 16, 2024
@scherztc
Copy link
Contributor Author

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

Successfully merging a pull request may close this issue.

2 participants