Menu

#112 Bug in GS1 validation for "length 70 max" AIs

1.0
closed
None
2018-11-02
2018-07-04
No

The following code seems to be checking the wrong length (34 instead of 70) due to a copy/paste error:

        // Length 70 Max
        case 8110: // Coupon code
        case 8112: // Paperless coupon code
        case 8200: // PRODUCT URL
            if (data_length[i] > 34) {
                error_latch = 1;
            } else {
                error_latch = 0;
            }
            break;

Discussion

  • Robin Stuart

    Robin Stuart - 2018-07-06

    Thank you, Daniel, I have now corrected this.

     
  • Harald Oehlmann

    Harald Oehlmann - 2018-11-02
    • status: open --> closed
    • assigned_to: Robin Stuart
     

Log in to post a comment.

MongoDB Logo MongoDB