Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • M Meta
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 459
    • Issues 459
    • List
    • Boards
    • Service Desk
    • Milestones
  • Snippets
    • Snippets
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Platform
  • Meta
  • Issues
  • #2415
Closed
Open
Issue created May 19, 2020 by Antoine R. Dumont@ardumontMaintainer

origin_metadata_add fails to write properly origin_metadata

Currently origin_metadata_add endpoints will fail with the following [1] error trying to insert dict into a bytea field.

tl;dr the tests currently send the right input of bytes but the code in prod sends dict. Which should be mapped to bytes, but a jsonize calls transforms it into the previous jsonb format.

  • [1] https://sentry.softwareheritage.org/share/issue/5ef4e31eaa3847a4a23e39847c9ac55f/

Migrated from T2415 (view on Phabricator)

Assignee
Assign to
Time tracking