Browser: Chrome(56.0.2924.87 (64-bit))
Operating System: Windows10
Issue: After the end of the lease date of access for a user, the items are not getting removed from the selected items list.
Steps to reproduce the behavior
Login to spruce system with at least manager level user.
Create a new item and set special access to an Avalon user who is not a member of this collection.
Login to spruce using the Avalon user details.
Search for the item that he has special access(lease) to.
Select the item and keep it like that (selection may include other items as well).
Wait for the lease to be completed (based on the end date you provide).
After the lease is over, check the selected items list. The count still shows same(it is not updated), but the item is not present in the list.
Link to related tickets or prior related work here.
The text was updated successfully, but these errors were encountered:
Looking at the problem, it looks like it would be best to make a rake task and add that task to a daily scheduled job in config/schedule.rb. The rake task would search for outdated bookmarks and then use a new class that would delete the bookmark. mo.remove_bookmark is on the MO and might not be best.