Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Greska prilikom citanja novih licnih karti na Linux-u #13

Open
ranzo1 opened this issue Dec 25, 2020 · 1 comment
Open

Greska prilikom citanja novih licnih karti na Linux-u #13

ranzo1 opened this issue Dec 25, 2020 · 1 comment

Comments

@ranzo1
Copy link

ranzo1 commented Dec 25, 2020

Program javlja gresku kada se ubace novije elektronske licne karte izdate 2019,2020 godine, na Linux operativnom sistemu. Ucitaju se podaci, ali nakon toga program izbaci gresku Card reading error:null. Problem se moze videti na slici.
InkedLinux citac kartica greska_LI

@kiklop74
Copy link

Ovo je greška u kodu metoda:

net.devbase.jfreesteel.EidInfo#getAddressDate

Izgleda ovako:

    public String getAddressDate() {
        String value = get(Tag.ADDRESS_DATE);
        if (value == null || value.equals("01010001"))
            return null;
        return formatDate(get(Tag.APPARTMENT_NUMBER));
    }

A treba da izgleda ovako:

    public String getAddressDate() {
        String value = get(Tag.ADDRESS_DATE);
        if (value == null || value.equals("01010001"))
            return null;
        return formatDate(value);
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants