Menu

#332 GS1 linter: alpha checksum is 2 characters, not one

1.0
closed
nobody
None
2026-03-20
2025-03-18
No

Hi zint team !

Just a small remark on the gs1 linter about AIs with the "csumalpha" property.
The checksum is two characters long, not one.

When entering in GS1-Mode:
[01]09521234567899[10]LOT[8014]1234567MA5

The warning is:
Warning 261: AI (8014) position 10: Bad checksum '5', expected '4'.

An improved warning might be:
AI (8014) position 9: Bad checksum 'A5', expected 'A4'.

Thanks for all,
Harald

1 Attachments

Discussion

  • Git Lost

    Git Lost - 2025-03-18

    Thanks Harald, fixed with commit [d1bf02].

     

    Related

    Commit: [d1bf02]

  • Harald Oehlmann

    Harald Oehlmann - 2025-03-19

    Great, thanks , great solution !

     
  • Git Lost

    Git Lost - 2026-03-20
    • status: open --> closed
     
  • Git Lost

    Git Lost - 2026-03-20

    Closing as fixed in release 2.16.0 - doing some housework Harald!

     

Log in to post a comment.

MongoDB Logo MongoDB