Upload buttons appear inactive for books that are not the latest version
Expected behaviour
Based on BCMS Roles Permission Spreadsheet spreadsheet ("PDF and XML Wholebook versions" tab), it looks like these upload buttons should be active for sys admin, org admin, and editor users.
Current behaviour
- Upload buttons for “Bookshelf Display PDFs”, “Supplementary”, “Images”, and “Support” under Files tab are inactive
- Only seeing this issue if the book is not the latest version (Upload buttons are active in latest versions)
- All books where I'm seeing this issue are in Published status
Steps to reproduce
Organization: Erin Book Versions Permissions Testing https://ncbi.cloud68.co/organizations/03f79aa4-1577-43eb-99e8-8b9b827f0ba5 Books: Coronavirus Disease 2019 (COVID-19) Treatment Guidelines - Prepublication Draft v1 Coronavirus Disease 2019 (COVID-19) Treatment Guidelines - Published PDF v36 Coronavirus Disease 2019 (COVID-19) Treatment Guidelines - Final Full Text v37
- Open book
- Navigate to Files tab
- Upload buttons for “Bookshelf Display PDFs”, “Supplementary”, “Images”, and “Support” under Files tab are inactive
Environment
PC, Microsoft Edge
Possible solution
N/A
NCBI's priority feedback
[Select "Y" or "N" and provide an explanation]
- This bug is blocking NCBI's work on migration planning for deployment 1 (Y/N)
- This can be prioritised after deployment 1 (Y/N)
cc @lathrops1
QA Steps
[To be completed by Coko once dev is done]