Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • M micropublication
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 72
    • Issues 72
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • 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
  • micropublication
  • micropublication
  • Issues
  • #295

Closed
Open
Created Sep 18, 2020 by nickstiffler@nickstifflerDeveloper

Null value in reference causes crash

I am not sure how this happens, but on a couple of occasions authors have input references where the pubmedId is null. This causes the browser to crash when editing the references. I can edit the DB and replace the null with an empty screen, but I am wondering how this might happen.

I am playing with adding a check to ensure objects do not contain null values here: https://gitlab.coko.foundation/micropublication/micropublication/blob/master/app/components/SubmissionForm.js#L321

Edited Sep 18, 2020 by nickstiffler
Assignee
Assign to
Time tracking