osf.io
osf.io copied to clipboard
[ENG-114] Fix for non-sequential version identifiers
##Purpose
Make sure the UI doesn't break from non-sequential version identifiers
Changes
I've made some changes to the way we pull version information so the system won't break when used by a user with non-sequential ids. For more details see the ticket.
QA Notes
We should be able to identify/create some bugged version to test with. Doing this on prod will need someone to do a query with prod data
Once a bugged file version is created you should be able to trigger this bug by going to the revisions page on a bugged file.
Documentation
Not user facing
Side Effects
This is essentially a band aid for the problematic version ids.
Ticket
https://openscience.atlassian.net/browse/ENG-114
LGTM!