Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-13346

Improve GTIN barcode handling

XMLWordPrintable

      1. Relevant discussion
        The warning “The barcode you entered is not a valid UPC or EAN code. Please double-check the barcode on the release.” shouldn't be shown for these 14-digit zero-padded GTIN barcodes. (See the GS1 standard for more details about GTIN which is basically subsuming EAN and UPC with backwards compatibility.)
      2. Further discussion
        The barcode submission API and the release editor should have the same behavior:
        • Reject 17-digit/18-digit barcode through the API
        • Validate GTIN-8 (EAN-8) barcode through the release editor
      3. Make the release editor to detect 2-digit/5-digit add-on code and to suggest adding it to the annotation field, following  the current release style guidelines.
      4. Replace the property gtin14 with the new gtin (for valid GTIN code) or identifier (otherwise) in the JSON-LD serialization of release (in release page’ HTML code).

            reosarevok Nicolás Tamargo
            DontMindMe DontMindMe
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2024-02-16