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 18
    • Merge requests 18
  • 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
  • #1179

Closed
Open
Created Apr 14, 2022 by Stacy Lathrop@lathrops1Developer

book-source-type is case sensitive

@ChristinaTromp @DioneMentis -

cc @jordandc

Expected behaviour

The book-source-type custom meta written into chapter-processed and collection metadata is case sensitive, and it must be title case, for our downstream uses.

Current behaviour

The book-source-type custom meta being written is all lower case, not per samples we provided as targets for this writing.

Steps to reproduce

  1. Go to: https://ncbi.cloud68.co/organizations/308db55a-21c9-4a64-9a70-d5aa7574726c/bookmanager/483e9438-8e7f-468e-8ce2-d2c5b4352c50/17c9300b-ab9a-49db-bc3a-88c82c777189
  2. Download converted XML
  3. See this tagging:

<custom-meta-group><custom-meta><meta-name>books-source-type</meta-name><meta-value>documentation</meta-value></custom-meta></custom-meta-group>

Should be:

<custom-meta-group><custom-meta><meta-name>books-source-type</meta-name><meta-value>Documentation</meta-value></custom-meta></custom-meta-group>

Environment

[Provide browser name and version and if you're working from a PC or Mac]

Possible solution

[Not required. Suggest a fix for the bug]

NCBI's priority feedback

Y, for deployment

QA Steps

  1. Create a book, like for example word complete book as the case above.
  2. Go to the metadata modal and fill the required fields, and for this issue we need the value for 'Book source type'
  3. To see the result faster upload the converted file toc.xml
  4. Reload the preview
  5. When status loading preview, download the file which from the converted file
  6. In the xml you should have something similar <custom-meta><meta-name>books-source-type</meta-name><meta-value>Database</meta-value></custom-meta> Where Instead of database you should se the value you added for your book source type.
Edited Jun 13, 2022 by Bela Toci
Assignee
Assign to
Time tracking