Skip to content

Conversation

@JaRutkowski
Copy link
Owner

No description provided.

@JaRutkowski JaRutkowski added the bug Something isn't working label Aug 2, 2020
@JaRutkowski JaRutkowski added this to the v4.0 milestone Aug 2, 2020
@JaRutkowski JaRutkowski self-assigned this Aug 2, 2020
Map<String, Consumer> emailEventsMethods = com.javafee.elibrary.core.common.Common.getEmailModuleEventsMethodsMapParam();
emailEventsMethods.put(com.javafee.elibrary.core.common.Common.getMethodReference("reloadDraftTable"), c -> this.reloadDraftTable());
emailEventsMethods.put(com.javafee.elibrary.core.common.Common.getMethodReference("reloadComboBoxRecipient"), c -> this.reloadComboBoxRecipient());
Params.getInstance().add("EMAIL_MODULE_EVENTS_METHODS", emailEventsMethods);
Copy link
Owner Author

Choose a reason for hiding this comment

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

EMAIL_MODULE_EVENTS_METHODS Param, storing 'reload' methods.

private void performDelete(Client selectedClient) {
HibernateUtil.beginTransaction();
// Without clearing the Session, there's still deleted object in it so that previously once the user deleted the Client,
// then the Client data was still appearing in the outbox/draft tables despite reloading it.
Copy link
Owner Author

@JaRutkowski JaRutkowski Aug 2, 2020

Choose a reason for hiding this comment

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

Invocation of the clear method.

@JaRutkowski JaRutkowski merged commit b733db0 into develop Aug 2, 2020
@JaRutkowski JaRutkowski deleted the #70_Problem_with_e-mail_sender_refresh_after_user_removal branch August 2, 2020 18:46
@JaRutkowski
Copy link
Owner Author

@MatSzymczyk, please be informed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants