Skip to content

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.


Migrated from T2415 (view on Phabricator)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information