branch develop updated (258d373b -> 86bc3394)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git from 258d373b Fix startup problem new 86bc3394 Fix ot showing search page problem The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 86bc3394e3d7afb34ae281fce6ab1155f1f61a76 Author: jcouteau <couteau@codelutin.com> Date: Mon Jan 28 11:27:20 2019 +0100 Fix ot showing search page problem Summary of changes: .../faxtomail/ui/swing/actions/ShowRechercheAction.java | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit 86bc3394e3d7afb34ae281fce6ab1155f1f61a76 Author: jcouteau <couteau@codelutin.com> Date: Mon Jan 28 11:27:20 2019 +0100 Fix ot showing search page problem --- .../faxtomail/ui/swing/actions/ShowRechercheAction.java | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowRechercheAction.java b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowRechercheAction.java index 694fe4f2..9e8b15e7 100644 --- a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowRechercheAction.java +++ b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowRechercheAction.java @@ -48,15 +48,12 @@ public class ShowRechercheAction extends AbstractChangeScreenAction { @Override public void doAction() throws Exception { - try(FaxToMailUIContext context = getContext()){ - context.setCurrentPaginationParameter(null); + FaxToMailUIContext context = getContext(); + context.setCurrentPaginationParameter(null); - FaxToMailUser currentUser = context.getCurrentUser(); - try(FaxToMailServiceContext serviceContext = context.newServiceContext()) { - List<Client> allowedClients = serviceContext.getClientService().getAllClientsForUser(currentUser); - getUI().setContextValue(allowedClients, SearchUIModel.PROPERTY_ALLOWED_CLIENTS); - } - } + FaxToMailUser currentUser = context.getCurrentUser(); + List<Client> allowedClients = context.newServiceContext().getClientService().getAllClientsForUser(currentUser); + getUI().setContextValue(allowedClients, SearchUIModel.PROPERTY_ALLOWED_CLIENTS); super.doAction(); } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm