Menu

#114 Bug in GS1 validation for AI 425 data length

1.0
closed
None
2018-07-06
2018-07-04
No

AI 425 should be included in the "length 3 fixed" group of checks, but is instead being checked for the same constraints as AI 423:

    if ((ai_value[i] == 423) || (ai_value[i] == 425)) {
        // COUNTRY INITIAL PROCESS || COUNTRY DISASSEMBLY
        if ((data_length[i] < 4) || (data_length[i] > 15)) {
            error_latch = 1;
        } else {
            error_latch = 0;
        }
    }

Discussion

  • Daniel Gredler

    Daniel Gredler - 2018-07-04

    Never mind, the latest version of the spec matches the code -- my version of the spec was a couple of years old.

     
  • Robin Stuart

    Robin Stuart - 2018-07-06
    • status: open --> closed
    • assigned_to: Robin Stuart
     

Log in to post a comment.

MongoDB Logo MongoDB