Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • Kotahi Kotahi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 302
    • Issues 302
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 64
    • Merge requests 64
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • 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
  • kotahikotahi
  • KotahiKotahi
  • Merge requests
  • !714

fix(submit): don't fail to submit a manuscript without label

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ben Whitmore requested to merge labels-bug-20221220 into main Dec 19, 2022
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 1

This was failing if the manuscriptDelta supplied to submitManuscript didn't contain the submission field -- which is quite possible given that we only send those fields that have changed. It was attempting to access field labels of undefined.

It meant that you couldn't upload a manuscript without specifying a label for it.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: labels-bug-20221220