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

Fix password reset and batch sign pin problems #347

Merged

Conversation

celuchmarek
Copy link
Member

No description provided.

@celuchmarek celuchmarek requested a review from jsuchal December 1, 2023 13:16
throw e;
}
} catch (Exception e) {
AutogramException autogramException = new AutogramException("Document signing has failed", "", "", e);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nechceme tu hodit unrecognizedexception?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, toto je naviazané na tú logiku Batch Signingu, že tie errory sa niekam zapisujú a na konci ich uvidíš všetky, ak to nie je error, ktorý ukončuje batch. Už sme sa bavili, že celý ten batch signing treba zrefaktorovať, ale radšej by som to teraz nechytal, keď to funguje.

ui.onUIThreadDo(() -> {
ui.cancelBatch(batch);
signCommon(job, batch.getSigningKey(), (jobNew) -> {
Logging.log("GUI: Signing batch job: " + job.hashCode() + " file " + job.getDocument().getName());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Toto asi nemusi byt len file

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neviem, čo tým myslíš. Ja som to len celé zobral z GUI, kde bol pôvodne tento batchSign. Myslíš tým, že to nemusí byť iba file, ale napr. aj nejaký formulár z API a podobne? Neriešil by som to.

@celuchmarek celuchmarek merged commit 4dfb16d into slovensko-digital:main Dec 4, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants