Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Hotfix: leading zeros for EAN2 and EAN5 "with checksum" #47

Merged
merged 2 commits into from
Sep 21, 2019
Merged

Hotfix: leading zeros for EAN2 and EAN5 "with checksum" #47

merged 2 commits into from
Sep 21, 2019

Conversation

michalbundyra
Copy link
Member

@michalbundyra michalbundyra commented Sep 7, 2019

Checksum for EAN2 and EAN5 is "used internally" (per documentation) and
not displayed. Also per documentation leading 0 should be added if the
text length is shorter than expected.

  • Are you fixing a bug?
    • Detail how the bug is invoked currently.
    • Detail the original, incorrect behavior.
    • Detail the new, expected behavior.
    • Base your feature on the master branch, and submit against that branch.
    • Add a regression test that demonstrates the bug, and proves the fix.
    • Add a CHANGELOG.md entry for the fix.

Checksum for EAN2 and EAN5 is "used internally" (per documentation) and
not displayed. Also per documentation leading 0 should be added if the
text length is shorter than expected.

Setting then with checksum or without should lead to the same result.
@michalbundyra michalbundyra added this to the 2.7.1 milestone Sep 7, 2019
michalbundyra added a commit that referenced this pull request Sep 21, 2019
Hotfix: leading zeros for EAN2 and EAN5 "with checksum"
@michalbundyra michalbundyra merged commit a1b158a into zendframework:master Sep 21, 2019
michalbundyra added a commit that referenced this pull request Sep 21, 2019
@michalbundyra michalbundyra deleted the hotfix/leading-zeros-ean-2-and-5 branch September 21, 2019 08:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants