Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • N ncbi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 270
    • Issues 270
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ncbi
  • ncbi
  • Issues
  • #1076

Closed
Open
Created Mar 04, 2022 by Stacy Lathrop@lathrops1Developer

Should not be able to publish Collection TOC unless at least one members (book) is published

cc @jordandc @douglassue

Current behaviour

User should not be able to publish Collection TOC with no members belonging to that collection - there must be at least one published book belonging to the collection

New requirement behaviour

Currently user can publish the Collection TOC before any books (members belonging to the collection) are published

Steps to reproduce

  1. See example of user who was able to this here: https://ncbi.cloud68.co/organizations/32d78686-4b9a-46af-b52a-f5d0c4052177/collectionmanager/b1c66823-81ea-4be5-989f-6293ad54669f
  2. Notice TOC button top right is green indicating it is published
  3. Click on TOC button and see you have a published view:

image

Priority

Y, must work for deployment

QA Steps

  1. Create a new collection
  2. Add some books (new or existing) to this collection which do not have the status published
  3. Check the collection TOC, should not be able to publish
  4. Add a book which is published to the collection
  5. On collection TOC now you should be able to publish
Edited May 12, 2022 by Sidorela Uku
Assignee
Assign to
Time tracking