Bug #7742

Deleting rights from accessions redirects the browser incorrectly

Added by Mike Gale over 7 years ago. Updated about 7 years ago.

Status:VerifiedStart date:12/19/2014
Priority:HighDue date:
Assignee:Dan Gillean% Done:

0%

Category:Rights
Target version:Release 2.2.0
Google Code Legacy ID: Tested version:2.2
Sponsored:No Requires documentation:

Description

To reproduce:
1. Browse to an accession
2. Create a new right if there isn't any one already (field values don't matter)
3. Go back to the accession
4. Click 'Delete' next to the right in the "Rights" section when viewing the accession

AtoM will then redirect the browser to a blank archival description creation screen (for some reason)

Expected result:
After clicking delete for the right in the accession, it should simply remove that right from the view as it does with archival descriptions. Or at the very least, redirect back to the accession again to see the updated page.

History

#1 Updated by Dan Gillean about 7 years ago

  • Priority changed from Medium to High

Tested and reproduced on 2015-03-18 in qa/2.2.x.

I don't want to release this new feature broken, and I am hoping this is an easy fix, so I'm upping the priority for now.

#2 Updated by José Raddaoui Marín about 7 years ago

  • Status changed from New to Code Review

I have also fixed a problem with the ACL check before deletion.

PR 124

#3 Updated by Mike Gale about 7 years ago

  • Assignee changed from Mike Gale to José Raddaoui Marín

Wow I didn't even get a chance to look at this yet and Radda already fixed it! Looks good to me

#4 Updated by José Raddaoui Marín about 7 years ago

  • Status changed from Code Review to QA/Review
  • Assignee changed from José Raddaoui Marín to Dan Gillean

#5 Updated by Dan Gillean about 7 years ago

  • Status changed from QA/Review to Verified

Yay!

Also available in: Atom PDF