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

Deposit created for removed grant/repository #1069

Open
rpoet-jh opened this issue Oct 24, 2024 · 0 comments
Open

Deposit created for removed grant/repository #1069

rpoet-jh opened this issue Oct 24, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@rpoet-jh
Copy link
Contributor

Environment

PROD/stage/local

Date/time occurred

10/24/24 2:45p

Description

If a user selects a grant for a submission, then removes the grant and selects another, the first grant repository is still deposited along with the second grant repository.

Steps to Reproduce

Run pass-docker in local mode.
Login with staff1
Start a new submission
Enter test into Title
Select a Journal
Click Next
On Grants, select invenio-test-awd-num-1 grant
Click Next under selected invenio-test-awd-num-1
Click Next on Policies
Click Back on Repositories
Click Back on Policies
Click Remove for invenio-test-awd-num-1 grant
Select the R24 grant
Click Next under selected R24
Click Next on Policies
Click Next on Repositories
Enter Author on Details and click Next
Upload a file on Files
On Review page, you will see JScholarship and InvenioRDM listed for Repositories. If you Submit, Deposits will be created for both repositories.

Expected Results

Deposit should only be created for JScholarship.

Actual Results

Deposits are created for JScholarship and InvenioRDM even though the grant associated with the InvenioRDM repo was removed.

Evidence

Reproduction steps will show it.

Estimated Severity

Major

@rpoet-jh rpoet-jh added the bug Something isn't working label Oct 24, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Eclipse PASS Oct 24, 2024
@dkriethof dkriethof added this to the 1.13.0 milestone Oct 24, 2024
@markpatton markpatton modified the milestones: 1.13.0, 1.14.0 Dec 9, 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
Projects
Status: Backlog
Development

No branches or pull requests

3 participants