This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository faxtomail. See http://git.codelutin.com/faxtomail.git commit 6235f09097442d2e9650e9796b2dee85f5f0c54c Author: Kevin Morin <morin@codelutin.com> Date: Mon Sep 7 15:14:34 2015 +0200 fixes #7516 Impossible d'éditer une élément ouvert depuis la recherche --- .../com/franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java index 7351c80..ada86f0 100644 --- a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java +++ b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java @@ -149,7 +149,6 @@ public class ShowDemandeAction extends AbstractMainUIFaxToMailAction { @Override public void doAction() throws Exception { DemandeUIModel currentEmail = getContext().getCurrentEmail(); - MailFolder folder = currentEmail.getMailFolder(); FaxToMailServiceContext serviceContext = getContext().newServiceContext(); @@ -171,6 +170,7 @@ public class ShowDemandeAction extends AbstractMainUIFaxToMailAction { currentEmail.fromEntity(email); + MailFolder folder = currentEmail.getMailFolder(); if (currentEmail.getArchiveDate() != null || !folder.isFolderWritable() || !currentEmail.getDemandStatus().isEditableStatus()) { @@ -178,6 +178,7 @@ public class ShowDemandeAction extends AbstractMainUIFaxToMailAction { } } + MailFolder folder = currentEmail.getMailFolder(); List<Client> allowedClients = serviceContext.getClientService().getClientsForFolder(folder); currentEmail.setAllowedClients(allowedClients); } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.